amdlib
Install
Install the tool from npm registry.
npm install -g amdlib
API
- -b --basePath :
specify the base path of the module dependency
- -t --tree :
print the dependency details as a tree format
- -h --help :
print help doc
How to use
Standalone
A test file called toto.js
amdlib -b "path/to/" -t totojs
Program API
var amdlib = ;var treeify = ; amdlib var treedp = amdlib;var flatdp = amdlib; console;console;
License
MIT