write-json-file : Stringify and write JSON to a file atomically. You can installing write-json-file 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-json-file $ sudo npm install -g write-json-file
If want to update the write-json-file package execute the command as below,
$ sudo npm update write-json-file
Update package globally,
$ npm install -g write-json-file
$ sudo git clone https://github.com/rektide/write-json-file.git
$ sudo npm install -g ./write-json-file
write-json-file@2.3.0 /usr/lib/node_modules/write-json-file
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall write-json-file
| Package Name | write-json-file |
| Version | 2.3.0 |
| Description | Stringify and write JSON to a file atomically |
| Released Date | 2017-10-11T12:41:54.241Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/write-json-file/tutorial |