The target nodes.
The new nodes to insert.
Optional
insertWith: InserterThe insertion function
// Insert a span into all the children of the first main element:
import {apply} from 'appliance'
import {insert} from 'domitory'
const span = document.createElement('span');
apply({main: main => insert(main.children, main.children.map(() => span.cloneNode())))})
Insert the values before the elements.