which-module : Find the module object for something that was require()d. You can installing which-module 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 which-module $ sudo npm install -g which-module
If want to update the which-module package execute the command as below,
$ sudo npm update which-module
Update package globally,
$ npm install -g which-module
$ sudo git clone https://github.com/rektide/which-module.git
$ sudo npm install -g ./which-module
which-module@2.0.0 /usr/lib/node_modules/which-module
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall which-module
| Package Name | which-module |
| Version | 2.0.0 |
| Description | Find the module object for something that was require()d |
| Released Date | 2017-05-01T20:24:20.945Z |
| Published by | nexdrew |
| How to Learn | https://www.npmjs.com/package/which-module/tutorial |