🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

supports-color-cli

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supports-color-cli

Detect whether a terminal supports color

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
2
Created
Source

supports-color-cli

Detect whether a terminal supports color

Install

$ npm install --global supports-color-cli

Usage

$ supports-color --help

  Usage
    $ supports-color

  Options
    --256  Check for 256 color support
    --16m  Check for 16 million color support

  Examples
    $ supports-color
    $ supports-color --256
    $ supports-color --16m

  Exits with code 0 if color is supported and 1 if not
  • supports-color - API for this module

Maintainers

Keywords

cli-app

FAQs

Package last updated on 16 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts