How to Install ansistyles NPM Packages on Ubuntu / Debian

How to Install ansistyles software package in NPM Packages

ansistyles : Functions that surround a string with ansistyle codes so it prints in style.. You can installing ansistyles 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 ansistyles
$ sudo npm install -g ansistyles

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

$ sudo npm update ansistyles

Update package globally,

$ npm install -g ansistyles

Git clone:

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

ansistyles@0.1.3 /usr/lib/node_modules/ansistyles

How to remove ansistyles package :

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

$ sudo npm uninstall ansistyles

Basic Information of ansistyles NPM Package:

Package Name ansistyles
Version 0.1.3
Description Functions that surround a string with ansistyle codes so it prints in style.
Released Date 2013-12-03T15:23:09.166Z
Published by thlorenz
How to Learn https://www.npmjs.com/package/ansistyles/tutorial