Key numbers
As of 25 Sept 2026
- Weekly downloads
- 7.2m
- +124% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 1 year ago
- v5.0.0
- GitHub stars
- 870
- 48 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
7,177,609 downloads last week, 36,249,672 in the last month. The 12-month change of +124% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 042 in total
- Latest version
- 5.0.0, 11 Mar 20251 year ago
- First published
- 2 Aug 2017
- Last push to GitHub
- 11 Mar 2025562 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 280
Major versions
- v5 first release 5.0.0, 11 Mar 2025
- v4 first release 4.0.0, 8 May 2021
- v3 first release 3.0.0, 6 Apr 2020
- v2 first release 2.0.0, 7 Nov 2017
- v1 first release 1.0.0, 2 Aug 2017
Recent releases
| Version | Published |
|---|---|
| 5.0.0 | 11 Mar 2025 |
| 4.9.0 | 11 Mar 2025 |
| 4.8.1 | 28 Feb 2023 |
| 4.8.0 | 23 Aug 2022 |
| 4.7.0 | 12 May 2022 |
| 4.6.0 | 17 Apr 2022 |
| 3.6.0 | 25 Feb 2022 |
| 4.5.0 | 19 Feb 2022 |
| 4.4.0 | 6 Jan 2022 |
| 4.3.0 | 22 Nov 2021 |
| 4.2.2 | 8 Nov 2021 |
| 3.5.0 | 8 Oct 2021 |
| 4.2.1 | 22 Sept 2021 |
| 4.2.0 | 17 Sept 2021 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 1.0 MB
- Dependencies (4)
hastscript@types/hast@types/prismjsparse-entities
npm install refractorCDN
jsDelivr: 687.1k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/refractor@5.0.0/ - unpkg
https://unpkg.com/refractor@5.0.0/ - esm.sh
https://esm.sh/refractor@5.0.0
Indexability: Indexed.