0.0.1 • Published 12 years ago
traverse-components v0.0.1
traverse-components
A helper to traverse a component's dependencies.
Installation
$ npm install traverse-componentsAPI
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
0.0.1
12 years ago