@mojule/node
v0.2.6
Published
DOM-like tree nodes backed by symbol-tree
Downloads
51
Readme
node
Generic tree node factory backed by symbol-tree
npm install @mojule/node
const Node = require( '@mojule/node' )
const grandparent = Node( 'grandparent' )
const parent = Node( 'parent' )
const child = Node( 'child' )
grandparent.appendChild( parent )
parent.appendChild( child )