{"id":20081312,"url":"https://github.com/chalk/supports-color-cli","last_synced_at":"2025-06-28T00:04:40.517Z","repository":{"id":34408334,"uuid":"38337754","full_name":"chalk/supports-color-cli","owner":"chalk","description":"Detect whether a terminal supports color","archived":false,"fork":false,"pushed_at":"2021-04-16T08:19:47.000Z","size":10,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-27T00:19:02.285Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chalk.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-30T23:09:31.000Z","updated_at":"2024-11-17T03:43:06.000Z","dependencies_parsed_at":"2022-08-03T20:45:27.632Z","dependency_job_id":null,"html_url":"https://github.com/chalk/supports-color-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/chalk/supports-color-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fsupports-color-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fsupports-color-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fsupports-color-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fsupports-color-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chalk","download_url":"https://codeload.github.com/chalk/supports-color-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fsupports-color-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262352619,"owners_count":23297689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T15:38:35.029Z","updated_at":"2025-06-28T00:04:40.496Z","avatar_url":"https://github.com/chalk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supports-color-cli\n\n\u003e Detect whether a terminal supports color\n\n## Install\n\n```\n$ npm install --global supports-color-cli\n```\n\n## Usage\n\n```\n$ supports-color --help\n\n  Usage\n    $ supports-color\n\n  Options\n    --256  Check for 256 color support\n    --16m  Check for 16 million color support\n\n  Examples\n    $ supports-color\n    $ supports-color --256\n    $ supports-color --16m\n\n  Exits with code 0 if color is supported and 1 if not\n```\n\n## Related\n\n- [supports-color](https://github.com/chalk/supports-color) - API for this module\n\n## Maintainers\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [Josh Junon](https://github.com/qix-)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalk%2Fsupports-color-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchalk%2Fsupports-color-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalk%2Fsupports-color-cli/lists"}