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
$ 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
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pretty-format
| 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 |