supports-color : Detect whether a terminal supports color. You can installing supports-color 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 supports-color $ sudo npm install -g supports-color
If want to update the supports-color package execute the command as below,
$ sudo npm update supports-color
Update package globally,
$ npm install -g supports-color
$ sudo git clone https://github.com/rektide/supports-color.git
$ sudo npm install -g ./supports-color
supports-color@5.0.0 /usr/lib/node_modules/supports-color
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall supports-color
| Package Name | supports-color |
| Version | 5.0.0 |
| Description | Detect whether a terminal supports color |
| Released Date | 2017-10-18T06:05:45.239Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/supports-color/tutorial |