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