Skip to content
JS
Package

hash-css-selector

A function to hash CSS selectors, can be used with postcss-modules to generate short static unique class names

v1.1.0, 26 Mar 2024MITESM + CommonJSTypes: BundledCSS-in-JS and styling
$ npm install hash-css-selector

Key numbers

As of 25 Sept 2026
Weekly downloads
1.5k
+151% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v1.1.0
GitHub stars
4
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 280 (30 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,483 downloads last week, 3,741 in the last month. The 12-month change of +151% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.0, 26 Mar 20242 years ago
First published
-
Last push to GitHub
26 Mar 2024912 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16.6.0
Runtimes
-
Unpacked size (npm)
6.6 kB
Dependencies (0)
None
npm install hash-css-selector
  • jsDelivrhttps://cdn.jsdelivr.net/npm/hash-css-selector@1.1.0/
  • unpkghttps://unpkg.com/hash-css-selector@1.1.0/
  • esm.shhttps://esm.sh/hash-css-selector@1.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
postcss-modules-values21.5m-5 years agoCommonJS-
icss-utils21.7m-5 years agoCommonJS-
postcss-reduce-initial16m-7 days agoESM only-
postcss-ordered-values15.9m-7 days agoESM only-
postcss-unique-selectors15.9m-7 days agoESM only-
postcss-minify-gradients15.9m-7 days agoESM only-
postcss-normalize-whitespace15.3m-7 days agoESM only-
postcss-normalize-unicode15m-7 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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