Package
hash-css-selector
A function to hash CSS selectors, can be used with postcss-modules to generate short static unique class names
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/hash-css-selector@1.1.0/ - unpkg
https://unpkg.com/hash-css-selector@1.1.0/ - esm.sh
https://esm.sh/hash-css-selector@1.1.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| postcss-modules-values | 21.5m | - | 5 years ago | CommonJS | - |
| icss-utils | 21.7m | - | 5 years ago | CommonJS | - |
| postcss-reduce-initial | 16m | - | 7 days ago | ESM only | - |
| postcss-ordered-values | 15.9m | - | 7 days ago | ESM only | - |
| postcss-unique-selectors | 15.9m | - | 7 days ago | ESM only | - |
| postcss-minify-gradients | 15.9m | - | 7 days ago | ESM only | - |
| postcss-normalize-whitespace | 15.3m | - | 7 days ago | ESM only | - |
| postcss-normalize-unicode | 15m | - | 7 days ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 1483 < 10000.