@mojule/node-utils
v0.2.6
Published
Tree node utilities
Downloads
18
Readme
dom-utils
Tree node utilities
npm install @mojule/node-utils
example
const utils = require( '@mojule/node-utils' )
const { walk } = utils
walk( node, current => {
if( current.value === 'target' ){
console.log( 'found target' )
return true
}
})