npm

Need private packages and team management tools?Check out npm Orgs. »

detective-es6

2.1.0 • Public • Published

detective-es6 npm npm

Get the dependencies of an ES6 module

npm install detective-es6

Usage

var detective = require('detective-es6');
 
var mySourceCode = fs.readFileSync('myfile.js', 'utf8');
 
// Pass in a file's content or an AST
var dependencies = detective(mySourceCode);
 

License

MIT

install

npm i detective-es6

Downloadsweekly downloads

128,399

version

2.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability