supports-color 3.2.1
Detect whether a terminal supports color
supports-color@3.2.1 was published on 2017-01-16. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=0.8.0.
All supports-color versions · Permanent reference to 3.2.1 · Latest release
Package specifications
| Version | 3.2.1 |
|---|---|
| License declaration | MIT |
| Published | 2017-01-16T00:10:36.346Z |
| Node.js requirement | >=0.8.0 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | 375 |
| Repository forks | 93 |
Install supports-color 3.2.1
npm install supports-color@3.2.1 pnpm add supports-color@3.2.1 yarn add supports-color@3.2.1
Runtime dependencies
- has-flag ^1.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- has-flag@1.0.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 4/10 — Found 12/30 approved changesets -- score normalized to 4 |
|---|---|
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 3/10 — 3 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 3 |
| Security-Policy | 10/10 — security policy file detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/supports-color/3.2.1 — retrieved 2026-10-29T07:18:11.167Z
- https://api.deps.dev/v3/projects/github.com%2Fchalk%2Fsupports-color — retrieved 2026-10-29T05:56:21.694Z
- https://api.deps.dev/v3/systems/npm/packages/supports-color/versions/3.2.1 — retrieved 2026-10-29T07:18:11.687Z
- https://api.deps.dev/v3/systems/npm/packages/supports-color/versions/3.2.1:dependencies — retrieved 2026-10-29T07:18:11.710Z