Package
x256
find the nearest xterm 256 color index for an rgb
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 411.7k
- +261% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 12 years ago
- v0.0.2
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
411,699 downloads last week, 1,860,845 in the last month. The 12-month change of +261% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 03 in total
- Latest version
- 0.0.2, 1 Jul 201412 years ago
- First published
- 6 May 2012
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 37
Major versions
- v0 first release 0.0.0, 6 May 2012
Recent releases
| Version | Published |
|---|---|
| 0.0.2 | 1 Jul 2014 |
| 0.0.1 | 6 May 2012 |
| 0.0.0 | 6 May 2012 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.4.0
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install x256- jsDelivr
https://cdn.jsdelivr.net/npm/x256@0.0.2/ - unpkg
https://unpkg.com/x256@0.0.2/ - esm.sh
https://esm.sh/x256@0.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @colors/colors | 44.3m | - | 18 days ago | CommonJS | - |
| colors | 20.9m | - | 7 years ago | CommonJS | - |
| colour | 166.6k | - | 13 years ago | CommonJS | - |
| ascli | 152.5k | - | 9 years ago | CommonJS | - |
| couleurs | 48k | - | 1 year ago | CommonJS | - |
Indexability: Indexed.