{"id":14563692,"url":"https://github.com/chalk/chalk-cli","last_synced_at":"2025-06-12T17:11:03.239Z","repository":{"id":34410803,"uuid":"38341094","full_name":"chalk/chalk-cli","owner":"chalk","description":"Terminal string styling done right","archived":false,"fork":false,"pushed_at":"2025-05-01T09:25:10.000Z","size":53,"stargazers_count":282,"open_issues_count":3,"forks_count":18,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-05T05:33:40.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-01T00:59:41.000Z","updated_at":"2025-06-04T09:40:29.000Z","dependencies_parsed_at":"2024-06-18T14:07:36.948Z","dependency_job_id":null,"html_url":"https://github.com/chalk/chalk-cli","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/chalk/chalk-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fchalk-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fchalk-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fchalk-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fchalk-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chalk","download_url":"https://codeload.github.com/chalk/chalk-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chalk%2Fchalk-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259509474,"owners_count":22868837,"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-09-07T02:04:20.832Z","updated_at":"2025-06-12T17:11:03.229Z","avatar_url":"https://github.com/chalk.png","language":"JavaScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# chalk-cli [![Downloads](https://badgen.net/npm/dt/chalk-cli)](https://www.npmjs.com/package/chalk-cli) [![run on repl.it](https://repl.it/badge/github/chalk/chalk-cli)](https://repl.it/github/chalk/chalk-cli)\n\n\u003e Terminal string styling done right\n\n\u003cimg src=\"screenshot.png\" width=\"631\"\u003e\n\n## Install\n\n```sh\nnpm install --global chalk-cli\n```\n\n## Usage\n\n```\n$ chalk --help\n\n  Usage\n    $ chalk \u003cstyle\u003e ... \u003cstring\u003e\n    $ echo \u003cstring\u003e | chalk \u003cstyle\u003e ...\n\n  Options\n    --template, -t    Style template. The `~` character negates the style.\n    --stdin           Read input from stdin rather than from arguments.\n    --no-newline, -n  Don't emit a newline (`\\n`) after the input.\n    --demo            Demo of all Chalk styles.\n    --color, -c       Force color support.\n\n  Examples\n    $ chalk red bold 'Unicorns \u0026 Rainbows'\n    $ chalk -t '{red.bold Unicorns \u0026 Rainbows}'\n    $ chalk -t '{red.bold Dungeons and Dragons {~bold.blue (with added fairies)}}'\n    $ echo 'Unicorns from stdin' | chalk --stdin red bold\n```\n\nSee [supported styles](https://github.com/chalk/chalk#styles).\n\n## Template syntax\n\n- `{red.bold unicorn}`\n- `{red.bold unicorns} are {blue FUN!!!}`\n- `{red.bold unicorn {blue.underline dancing}}`\n- `{red red {~red normal}}`\n- `{red hey\\} still red} not red`\n- `{red hey\\\\} not red`\n\n## Related\n\n- [chalk](https://github.com/chalk/chalk) - API for this package\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%2Fchalk-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchalk%2Fchalk-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalk%2Fchalk-cli/lists"}