Skip to content
JS
Package

star-rating.js

This zero-dependency ES6 module transforms a SELECT into a dynamic star rating element.

v4.3.1MITESM + CommonJSTypes: None
$ npm install star-rating.js

Key numbers

As of 25 Sept 2026
Weekly downloads
3.1k
+118% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
-
v4.3.1
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 4.2k (28 Jul 2026)Low 497 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,134 downloads last week, 13,651 in the last month. The 12-month change of +118% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.3.1
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
97 kB
Dependencies (1)
detect-it
npm install star-rating.js

CDN

jsDelivr: 1.2m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/star-rating.js@4.3.1/
  • unpkghttps://unpkg.com/star-rating.js@4.3.1/
  • esm.shhttps://esm.sh/star-rating.js@4.3.1
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 3134 < 10000; GitHub data not fetched yet; no category.