write-json : Write a JSON file to disk, also creates intermediate directories in the destination path if they dont already exist.. You can installing write-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 write-json $ sudo npm install -g write-json
If want to update the write-json package execute the command as below,
$ sudo npm update write-json
Update package globally,
$ npm install -g write-json
$ sudo git clone https://github.com/rektide/write-json.git
$ sudo npm install -g ./write-json
write-json@2.0.0 /usr/lib/node_modules/write-json
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall write-json
| Package Name | write-json |
| Version | 2.0.0 |
| Description | Write a JSON file to disk, also creates intermediate directories in the destination path if they dont already exist. |
| Released Date | 2017-07-11T05:06:06.941Z |
| Published by | jonschlinkert |
| How to Learn | https://www.npmjs.com/package/write-json/tutorial |