Asynchronous npm dependency walker
Easily perform a kitchen sink of asynchronous operations on each item in a module's dependency tree.
Put individual names and versions of all dependencies in some db by walking over the tree using an async
var prod =var moduleRoot = path})
// pass any module's root directory to walk over it and it's dependenciesvar tapeDependencies =var myDependencies = // defaults to process.cwd()Object // => // each, eachSeries, eachLimit, map, ...etc.// See below.
If you don't want any of this async magic, you can simply initialize
prod with .load and use regular Array operations on its
var myDependencies =