How to Install cjson NPM Packages on Ubuntu / Debian

How to Install cjson software package in NPM Packages

cjson : cjson - Commented JavaScript Object Notation. It is a json loader, which parses only valid json files, but with comments enabled. Useful for loading configs.. You can installing cjson 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 cjson
$ sudo npm install -g cjson

If want to update the cjson package execute the command as below,

$ sudo npm update cjson

Update package globally,

$ npm install -g cjson

Git clone:

$ sudo  git clone https://github.com/rektide/cjson.git
$ sudo  npm install -g ./cjson

cjson@0.5.0 /usr/lib/node_modules/cjson

How to remove cjson package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall cjson

Basic Information of cjson NPM Package:

Package Name cjson
Version 0.5.0
Description cjson - Commented JavaScript Object Notation. It is a json loader, which parses only valid json files, but with comments enabled. Useful for loading configs.
Released Date 2017-01-07T19:03:10.569Z
Published by kof
How to Learn https://www.npmjs.com/package/cjson/tutorial