package-json : Get metadata of a package from the npm registry. You can installing package-json 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 package-json $ sudo npm install -g package-json
If want to update the package-json package execute the command as below,
$ sudo npm update package-json
Update package globally,
$ npm install -g package-json
$ sudo git clone https://github.com/rektide/package-json.git
$ sudo npm install -g ./package-json
package-json@4.0.1 /usr/lib/node_modules/package-json
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall package-json
| Package Name | package-json |
| Version | 4.0.1 |
| Description | Get metadata of a package from the npm registry |
| Released Date | 2017-04-17T07:19:55.982Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/package-json/tutorial |