How to Install pretty-format NPM Packages on Ubuntu / Debian

How to Install pretty-format software package in NPM Packages

pretty-format : Stringify any JavaScript value.. You can installing pretty-format 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 pretty-format
$ sudo npm install -g pretty-format

If want to update the pretty-format package execute the command as below,

$ sudo npm update pretty-format

Update package globally,

$ npm install -g pretty-format

Git clone:

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

pretty-format@21.2.1 /usr/lib/node_modules/pretty-format

How to remove pretty-format package :

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

$ sudo npm uninstall pretty-format

Basic Information of pretty-format NPM Package:

Package Name pretty-format
Version 21.2.1
Description Stringify any JavaScript value.
Released Date 2017-09-27T22:15:03.745Z
Published by cpojer
How to Learn https://www.npmjs.com/package/pretty-format/tutorial