detective : find all require() calls by walking the AST. You can installing detective npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install detective $ sudo npm install -g detective
If want to update the detective package execute the command as below,
$ sudo npm update detective
Update package globally,
$ npm install -g detective
$ sudo git clone https://github.com/rektide/detective.git
$ sudo npm install -g ./detective
detective@4.5.0 /usr/lib/node_modules/detective
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall detective
Package Name | detective |
Version | 4.5.0 |
Description | find all require() calls by walking the AST |
Released Date | 2017-03-01T22:43:21.349Z |
Published by | substack |
How to Learn | https://www.npmjs.com/package/detective/tutorial |