How to Install ansi-diff-stream NPM Packages on Ubuntu / Debian

How to Install ansi-diff-stream software package in NPM Packages

ansi-diff-stream : A transform stream that diffs input buffers and outputs the diff as ANSI. If you pipe this to a terminal it will update the output with minimal changes.. You can installing ansi-diff-stream 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 ansi-diff-stream
$ sudo npm install -g ansi-diff-stream

If want to update the ansi-diff-stream package execute the command as below,

$ sudo npm update ansi-diff-stream

Update package globally,

$ npm install -g ansi-diff-stream

Git clone:

$ sudo  git clone https://github.com/rektide/ansi-diff-stream.git
$ sudo  npm install -g ./ansi-diff-stream

ansi-diff-stream@1.2.0 /usr/lib/node_modules/ansi-diff-stream

How to remove ansi-diff-stream package :

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

$ sudo npm uninstall ansi-diff-stream

Basic Information of ansi-diff-stream NPM Package:

Package Name ansi-diff-stream
Version 1.2.0
Description A transform stream that diffs input buffers and outputs the diff as ANSI. If you pipe this to a terminal it will update the output with minimal changes.
Released Date 2017-03-04T13:30:21.387Z
Published by mafintosh
How to Learn https://www.npmjs.com/package/ansi-diff-stream/tutorial