Skip to content
JS
Package

contrast-ratio-checker

A package based on WCAG 2.0 to easily check contrast ratio.

v1.1.7, 21 Oct 2023MITCommonJSTypes: BundledAccessibility
$ npm install contrast-ratio-checker

Key numbers

As of 25 Sept 2026
Weekly downloads
1.3k
+263% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v1.1.7
GitHub stars
1
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05001k1.5k2kSept 2025Mar 2026Sept 2026High 1.5k (8 Sept 2026)Low 19 (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,275 downloads last week, 2,846 in the last month. The 12-month change of +263% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.7, 21 Oct 20232 years ago
First published
-
Last push to GitHub
20 Sept 2025369 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (0)
None
npm install contrast-ratio-checker
  • jsDelivrhttps://cdn.jsdelivr.net/npm/contrast-ratio-checker@1.1.7/
  • unpkghttps://unpkg.com/contrast-ratio-checker@1.1.7/
  • esm.shhttps://esm.sh/contrast-ratio-checker@1.1.7
PackageWeekly downloadsGzipLast releaseModuleComparison
colorizr10.8k-3 months agoESM + CommonJS-
get-contrast6.3k-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1275 < 10000.