How to Install ansi-escapes NPM Packages on Ubuntu / Debian

How to Install ansi-escapes software package in NPM Packages

ansi-escapes : ANSI escape codes for manipulating the terminal. You can installing ansi-escapes 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-escapes
$ sudo npm install -g ansi-escapes

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

$ sudo npm update ansi-escapes

Update package globally,

$ npm install -g ansi-escapes

Git clone:

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

ansi-escapes@3.0.0 /usr/lib/node_modules/ansi-escapes

How to remove ansi-escapes package :

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

$ sudo npm uninstall ansi-escapes

Basic Information of ansi-escapes NPM Package:

Package Name ansi-escapes
Version 3.0.0
Description ANSI escape codes for manipulating the terminal
Released Date 2017-09-05T10:36:07.996Z
Published by sindresorhus
How to Learn https://www.npmjs.com/package/ansi-escapes/tutorial