How to Install diff2html NPM Packages on Ubuntu / Debian

How to Install diff2html software package in NPM Packages

diff2html : Fast Diff to colorized HTML. You can installing diff2html 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 diff2html
$ sudo npm install -g diff2html

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

$ sudo npm update diff2html

Update package globally,

$ npm install -g diff2html

Git clone:

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

diff2html@2.3.2 /usr/lib/node_modules/diff2html

How to remove diff2html package :

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

$ sudo npm uninstall diff2html

Basic Information of diff2html NPM Package:

Package Name diff2html
Version 2.3.2
Description Fast Diff to colorized HTML
Released Date 2017-10-16T22:51:48.087Z
Published by rtfpessoa
How to Learn https://www.npmjs.com/package/diff2html/tutorial