resolve-pkg : Resolve the path of a package regardless of it having an entry point. You can installing resolve-pkg 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 resolve-pkg $ sudo npm install -g resolve-pkg
If want to update the resolve-pkg package execute the command as below,
$ sudo npm update resolve-pkg
Update package globally,
$ npm install -g resolve-pkg
$ sudo git clone https://github.com/rektide/resolve-pkg.git
$ sudo npm install -g ./resolve-pkg
resolve-pkg@1.0.0 /usr/lib/node_modules/resolve-pkg
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall resolve-pkg
| Package Name | resolve-pkg |
| Version | 1.0.0 |
| Description | Resolve the path of a package regardless of it having an entry point |
| Released Date | 2017-01-13T09:37:31.164Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/resolve-pkg/tutorial |