list_requires
List the libraries required by some Javascript code by parsing it
Install
npm install list_requires
Usage
var list_requires = ; var code = "a=require('foo'); b=require('bar')";console;// will output ['foo', 'bar']
If you want to list calls to some function other than require
, please use list_requires_multi instead.
License
MIT
Credits
By Geza Kovacs