How to Install enzyme-to-json NPM Packages on Ubuntu / Debian

How to Install enzyme-to-json software package in NPM Packages

enzyme-to-json : convert enzyme wrapper to a format compatible with Jest snapshot. You can installing enzyme-to-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 enzyme-to-json
$ sudo npm install -g enzyme-to-json

If want to update the enzyme-to-json package execute the command as below,

$ sudo npm update enzyme-to-json

Update package globally,

$ npm install -g enzyme-to-json

Git clone:

$ sudo  git clone https://github.com/rektide/enzyme-to-json.git
$ sudo  npm install -g ./enzyme-to-json

enzyme-to-json@3.2.2 /usr/lib/node_modules/enzyme-to-json

How to remove enzyme-to-json package :

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

$ sudo npm uninstall enzyme-to-json

Basic Information of enzyme-to-json NPM Package:

Package Name enzyme-to-json
Version 3.2.2
Description convert enzyme wrapper to a format compatible with Jest snapshot
Released Date 2017-11-08T09:25:10.479Z
Published by adriantoine
How to Learn https://www.npmjs.com/package/enzyme-to-json/tutorial