is-json : check if a string is a valid JSON string without using Try/Catch. You can installing is-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 is-json $ sudo npm install -g is-json
If want to update the is-json package execute the command as below,
$ sudo npm update is-json
Update package globally,
$ npm install -g is-json
$ sudo git clone https://github.com/rektide/is-json.git
$ sudo npm install -g ./is-json
is-json@2.0.1 /usr/lib/node_modules/is-json
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall is-json
Package Name | is-json |
Version | 2.0.1 |
Description | check if a string is a valid JSON string without using Try/Catch |
Released Date | 2016-09-17T16:29:51.565Z |
Published by | quim |
How to Learn | https://www.npmjs.com/package/is-json/tutorial |