{"id":27290945,"url":"https://github.com/kabeep/palette-cli","last_synced_at":"2025-10-20T07:13:01.626Z","repository":{"id":273894784,"uuid":"921223154","full_name":"kabeep/palette-cli","owner":"kabeep","description":"\u003e A Node.js Library to make your terminal input colorful._","archived":false,"fork":false,"pushed_at":"2025-06-16T18:41:53.000Z","size":26,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T21:56:44.287Z","etag":null,"topics":["ansi","chalk","cli","color","console","nodejs","terminal"],"latest_commit_sha":null,"homepage":"https://github.com/kabeep/palette-cli","language":"TypeScript","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/kabeep.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":"2025-01-23T15:14:29.000Z","updated_at":"2025-01-23T15:39:15.000Z","dependencies_parsed_at":"2025-01-23T16:43:03.012Z","dependency_job_id":null,"html_url":"https://github.com/kabeep/palette-cli","commit_stats":null,"previous_names":["kabeep/palette-cli"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kabeep/palette-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Fpalette-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Fpalette-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Fpalette-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Fpalette-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kabeep","download_url":"https://codeload.github.com/kabeep/palette-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Fpalette-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266296760,"owners_count":23907012,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ansi","chalk","cli","color","console","nodejs","terminal"],"created_at":"2025-04-11T21:39:42.425Z","updated_at":"2025-10-20T07:12:56.587Z","avatar_url":"https://github.com/kabeep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003epalette-cli\u003c/h1\u003e\n\nA Node.js Library to make your terminal input colorful.\n\n[![NodeJS][node-image]][node-url]\n[![Install Size][install-size-image]][install-size-url]\n[![NPM][npm-image]][npm-url]\n[![code style][code-style-image]][code-style-url]\n[![License][license-image]][license-url]\n\nEnglish | [简体中文][zh-cn-url]\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/user-attachments/assets/fbc01d73-7934-4d01-9e4e-9f11f0737819\" /\u003e\n  \u003cimg width=\"814\" alt=\"Help Info\" src=\"https://github.com/user-attachments/assets/996184c8-a083-4df4-aa23-25e9cb4a47b7\" /\u003e\n\u003c/picture\u003e\n\n\u003c/div\u003e\n\n## 📦 Installation\n\n```bash\nnpm install --global @kabeep/palette-cli\n```\n\n```bash\nyarn add --global @kabeep/palette-cli\n```\n\n```bash\npnpm add --global @kabeep/palette-cli\n```\n\n## ⚙️ Usage\n\n```bash\npalette -h\n```\n\n```\npalette \u003ccommand\u003e [options]\n\nCommands:\n  palette paint \u003cstring\u003e [styles..]  Styling of terminal string    [default] [aliases: color, style]\n  palette swatch [count|rgb..]       Display color swatch \u0026 chips              [aliases: card, chip]\n  palette tone                       256-color lookup tables                 [aliases: table, chart]\n\nPositionals:\n  string  Text to be styled                                                                 [string]\n  styles  Keywords for color and style                                                      [string]\n\nOptions:\n  -c, --clipboard  Write to the clipboard                                 [boolean] [default: false]\n  -h, --help       Show help                                                               [boolean]\n  -v, --version    Show version number                                                     [boolean]\n\nExamples:\n  palette string red bgWhite bold   Using the style keyword\n  palette string ff0000, bg0,255,0  Using Hex and RGB\n  palette string '#ff0000' 00ff00   The latter style is weighted higher\n  echo string | palette red         Get string from stdin\n  palette string -c red             Copies styled string to the clipboard\n```\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/user-attachments/assets/7aa3b654-3550-423b-a844-83a6f61d3ea5\" /\u003e\n  \u003cimg width=\"814\" alt=\"Help Info\" src=\"https://github.com/user-attachments/assets/74f042fe-658c-47ec-ad76-1c1d3c90c4d9\" /\u003e\n\u003c/picture\u003e\n\n```bash\npalette tone -h\n```\n\n```\npalette tone\n\n256-color lookup tables\n\nOptions:\n  -s, --show-number  Shows 256-colored numbering          [boolean] [default: false]\n  -h, --help         Show help                                             [boolean]\n  -v, --version      Show version number                                   [boolean]\n\nExamples:\n  palette tone                Show color blocks only\n  palette tone --show-number  Show color blocks with color numbering\n```\n\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/user-attachments/assets/59bafd00-eee3-45d7-9a0f-34835514e952\" /\u003e\n  \u003cimg width=\"814\" alt=\"Help Info\" src=\"https://github.com/user-attachments/assets/294bf8d7-b88e-4129-bd3f-ada74c9fd40b\" /\u003e\n\u003c/picture\u003e\n\n```bash\npalette swatch -h\n```\n\n```\npalette swatch [count|rgb..]\n\nDisplay color swatch \u0026 chips\n\nPositionals:\n  count  Number of random color samples                       [number] [default: 1]\n  rgb    Specifies the RGB value of the card.                [number] [default: []]\n\nOptions:\n  -h, --help     Show help                                                [boolean]\n  -v, --version  Show version number                                      [boolean]\n\nExamples:\n  palette swatch              Displays a random color swatches\n  palette swatch 8            Displays 8 random colored chips\n  palette swatch 255 255 255  Show the rgb(255, 255, 255) swatch\n```\n\n## 🔗 Related\n\n- [palette][palette-url] - 🎨 The fastest Node.js library to set terminal text colours \u0026 styles with hex, rgb and\n  tree-shaking.\n\n## 🤝 Contribution\n\nContributions via Pull Requests or [Issues][issues-url] are welcome.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE][license-url] file for details.\n\n\n[node-image]: https://img.shields.io/node/v/%40kabeep%2Fpalette-cli?color=lightseagreen\n[node-url]: https://nodejs.org/\n\n[npm-image]: https://img.shields.io/npm/d18m/%40kabeep%2Fpalette-cli?color=fa6673\n[npm-url]: https://www.npmjs.com/package/@kabeep/palette-cli\n\n[install-size-image]: https://packagephobia.com/badge?p=@kabeep/palette-cli\n[install-size-url]: https://packagephobia.com/result?p=@kabeep/palette-cli\n\n[code-style-image]: https://img.shields.io/badge/Formatted_with-Biome-cornflowerblue?style=flat\u0026logo=biome\n[code-style-url]: https://biomejs.dev/\n\n[license-image]: https://img.shields.io/github/license/kabeep/palette-cli?color=slateblue\n[license-url]: LICENSE\n\n[en-us-url]: README.md\n[zh-cn-url]: README.zh-CN.md\n\n[palette-url]: https://github.com/kabeep/palette\n\n[issues-url]: https://github.com/kabeep/palette-cli/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkabeep%2Fpalette-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkabeep%2Fpalette-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkabeep%2Fpalette-cli/lists"}