traverse-components

0.0.1 • Public • Published

traverse-components

A helper to traverse a component's dependencies.

Installation

$ npm install traverse-components

API

traverse(file, callback)

Traverse a component.json file's dependencies, calling callback with:

{
  json: { ... } // the dep's component.json
  file: '...' // the path to the component.json file
  parent: { ... } // the parent's component.json
}

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i traverse-components

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • ianstormtaylor