supports-color

Detect whether a terminal supports color
CreativeWork javascript_library Q95955846

Facts

8 properties
Official website
github.com[18]
Copyright license
MIT License[1]
Copyright status
copyrighted[20]
Depends on software
has-flag[19]
Operating system
cross-platform[3]
Programmed in
JavaScript[2]
Software version identifier
0.2.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 2.0.0, 3.0.0, 3.0.1, 3.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 4.0.0, 4.1.0, 4.2.0, 4.2.1, 4.3.0, 4.4.0, 4.5.0, 5.0.0, 5.0.1, 5.1.0, 5.2.0, 5.3.0, 5.4.0, 5.5.0, 6.0.0, 6.1.0, 7.0.0, 7.1.0, 7.2.0, 8.0.0, 8.1.0, 8.1.1, 9.0.0, 9.0.1, 9.0.2, 9.1.0, 9.2.0, 9.2.1, 9.2.2, 9.2.3, 9.3.0, 9.3.1, 9.4.0, 10.0.0, 10.1.0, 10.2.0, 10.2.2, 11.0.0[4][5][6][7][8][9][10][11][12][13][14][15][16][17]
🏷️ Also known as
en supports-color
🔖 Identifiers · 2
Npm package
supports-color
Source code repository URL
github.com

Report an error or request removal Lineage (PROV-JSON)

Press Enter · cited answer in seconds

References

Programmatic citations — every numbered marker resolves to a verifiable graph row below.

Direct Wikidata claims

  1. [1] ↑ . api.github.com. Retrieved . api.github.com. Provenance: wikidata.org.
  2. [2] ↑ . wikidata.org.
  3. [3] ↑ . wikidata.org.
  4. [4] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  5. [5] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  6. [6] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  7. [7] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  8. [8] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  9. [9] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  10. [10] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  11. [11] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  12. [12] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  13. [13] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  14. [14] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  15. [15] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  16. [16] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  17. [17] ↑ . npmjs. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  18. [18] ↑ . registry.npmjs.org. Retrieved . registry.npmjs.org. Provenance: wikidata.org.
  19. [19] ↑ . cdn.jsdelivr.net. Retrieved . cdn.jsdelivr.net. Provenance: wikidata.org.
  20. [20] ↑ . wikidata.org.

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). supports-color. Retrieved October 31, 2026, from https://4ort.xyz/entity/supports-color
MLA “supports-color.” 4ort.xyz Knowledge Graph, 4ort.xyz, 31 Oct. 2026, https://4ort.xyz/entity/supports-color.
BibTeX @misc{4ortxyz_supports-color_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{supports-color}}, year = {2026}, url = {https://4ort.xyz/entity/supports-color}, note = {Accessed: 2026-10-31}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): supports-color — https://4ort.xyz/entity/supports-color (retrieved 2026-10-31)

Canonical URL: https://4ort.xyz/entity/supports-color · Last refreshed:

Edit History

Rolling log of changes to this entity's Wikidata record. Values shown reflect the current state of each edited property — follow the history link to see the precise diff for any edit.

  1. 14w ago · Github-wiki-bot bot · 2026-07-27 view diff on Wikidata ↗
    Official website → https://github.com/chalk/supports-color#readme
    Source code repository URL → https://github.com/chalk/supports-color
    Imported from → —
    Wikidata description → Detect whether a terminal supports color
    + 8 other properties edited (see Wikidata diff for full list)
    "/* wbeditentity-statements-single-property-update:1||2 */ Software version identifier, Update with GitHub data ([[:toollabs:editgroups/b/CB/5fe1b46f4e80|details]])"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.