Skip to content
JS
Package

x256

find the nearest xterm 256 color index for an rgb

v0.0.2, 1 Jul 2014MITCommonJSTypes: NoneCLI tools and terminal utilities
$ npm install x256

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
0200k400k600k800kSept 2025Mar 2026Sept 2026High 620k (25 Aug 2026)Low 95.5k (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v0 first release 0.0.0, 6 May 2012

Recent releases

VersionPublished
0.0.21 Jul 2014
0.0.16 May 2012
0.0.06 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/x256@0.0.2/
  • unpkghttps://unpkg.com/x256@0.0.2/
  • esm.shhttps://esm.sh/x256@0.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@colors/colors44.3m-18 days agoCommonJS-
colors20.9m-7 years agoCommonJS-
colour166.6k-13 years agoCommonJS-
ascli152.5k-9 years agoCommonJS-
couleurs48k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.