ansi-regex : Regular expression for matching ANSI escape codes. You can installing ansi-regex 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-regex $ sudo npm install -g ansi-regex
If want to update the ansi-regex package execute the command as below,
$ sudo npm update ansi-regex
Update package globally,
$ npm install -g ansi-regex
$ sudo git clone https://github.com/rektide/ansi-regex.git
$ sudo npm install -g ./ansi-regex
ansi-regex@3.0.0 /usr/lib/node_modules/ansi-regex
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall ansi-regex
Package Name | ansi-regex |
Version | 3.0.0 |
Description | Regular expression for matching ANSI escape codes |
Released Date | 2017-06-20T19:03:33.464Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/ansi-regex/tutorial |