Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
supports-color-cli
Advanced tools
Detect whether a terminal supports color
$ npm install --global supports-color-cli
$ supports-color --help
Usage
$ supports-color [--<256|16m>]
Options
--256 Check for 256 color support
--16m Check for 16 million color support (True Color)
Examples
$ supports-color
$ supports-color --256
$ supports-color --16m
Exits with code 0 if color is supported and 1 if not
You can force color by setting the environment variable FORCE_COLOR
to any value.
MIT © Sindre Sorhus
FAQs
Detect whether a terminal supports color
The npm package supports-color-cli receives a total of 2 weekly downloads. As such, supports-color-cli popularity was classified as not popular.
We found that supports-color-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.