Package
fraction.js
The RAW rational numbers library
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 45.2m
- +111% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 year ago
- v5.3.4
- GitHub stars
- 691
- 77 forks
- Open issues / PRs
- 2 / 3
- Contributors
- 17
- Commits, last 52 weeks
- 1
Downloads
Last week 2026-09-15 to 2026-09-21
45,215,227 downloads last week, 201,826,262 in the last month. The 12-month change of +111% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 070 in total
- Latest version
- 5.3.4, 22 Aug 20251 year ago
- First published
- 12 Mar 2014
- Last push to GitHub
- 26 Sept 2025363 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 3
- Commits, last 52 weeks
- 1
- Dependents on npm
- 626
Major versions
- v5 first release 5.0.0, 4 Oct 2024
- v4 first release 4.0.0, 8 Feb 2017
- v3 first release 3.0.0, 9 Sept 2015
- v2 first release 2.0.0, 30 May 2015
- v1 first release 1.1.0, 21 Mar 2014
Recent releases
| Version | Published |
|---|---|
| 5.3.4 | 22 Aug 2025 |
| 5.3.3 | 22 Aug 2025 |
| 5.3.2 | 22 Aug 2025 |
| 5.3.1 | 17 Aug 2025 |
| 5.3.0 | 16 Aug 2025 |
| 5.2.2 | 30 Mar 2025 |
| 5.2.1 | 17 Nov 2024 |
| 5.2.0 | 17 Nov 2024 |
| 5.1.1 | 1 Nov 2024 |
| 5.1.0 | 30 Oct 2024 |
| 5.0.6 | 10 Oct 2024 |
| 5.0.5 | 10 Oct 2024 |
| 5.0.4 | 10 Oct 2024 |
| 5.0.3 | 9 Oct 2024 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- *
- Runtimes
- -
- Unpacked size (npm)
- 144 kB
- Dependencies (0)
- None
npm install fraction.jsCDN
jsDelivr: 2.2m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/fraction.js@5.3.4/ - unpkg
https://unpkg.com/fraction.js@5.3.4/ - esm.sh
https://esm.sh/fraction.js@5.3.4
Indexability: Indexed.