pkg-up : Find the closest package.json file. You can installing pkg-up 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 pkg-up $ sudo npm install -g pkg-up
If want to update the pkg-up package execute the command as below,
$ sudo npm update pkg-up
Update package globally,
$ npm install -g pkg-up
$ sudo git clone https://github.com/rektide/pkg-up.git
$ sudo npm install -g ./pkg-up
pkg-up@2.0.0 /usr/lib/node_modules/pkg-up
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pkg-up
| Package Name | pkg-up |
| Version | 2.0.0 |
| Description | Find the closest package.json file |
| Released Date | 2017-05-04T15:24:27.726Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/pkg-up/tutorial |