@mojule/node-utils
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

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
  }
})

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @mojule/node-utils

Weekly Downloads

1

Version

0.2.6

License

MIT

Unpacked Size

86 kB

Total Files

15

Last publish

Collaborators

  • andybell
  • nrkn