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