Package
es-to-primitive
ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 68.5m
- +75% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 6
- Direct, from package.json
- Last release
- 2 months ago
- v1.3.4
- GitHub stars
- 21
- 9 forks
- Open issues / PRs
- 1 / 0
- Contributors
- 2
- Commits, last 52 weeks
- 18
Downloads
Last week 2026-09-15 to 2026-09-21
68,537,147 downloads last week, 325,775,199 in the last month. The 12-month change of +75% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 411 in total
- Latest version
- 1.3.4, 26 Jun 20262 months ago
- First published
- 19 Mar 2015
- Last push to GitHub
- 26 Jun 202691 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 0
- Commits, last 52 weeks
- 18
- Dependents on npm
- 1,245
Major versions
- v1 first release 1.0.0, 19 Mar 2015
Recent releases
| Version | Published |
|---|---|
| 1.3.4 | 26 Jun 2026 |
| 1.3.3 | 25 Jun 2026 |
| 1.3.2 | 25 Jun 2026 |
| 1.3.1 | 16 Jun 2026 |
| 1.3.0 | 26 Nov 2024 |
| 1.2.1 | 9 Nov 2019 |
| 1.2.0 | 27 Sept 2018 |
| 1.1.1 | 4 Jan 2016 |
| 1.0.1 | 4 Jan 2016 |
| 1.1.0 | 27 Dec 2015 |
| 1.0.0 | 19 Mar 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >= 0.4
- Runtimes
- -
- Unpacked size (npm)
- 46 kB
- Dependencies (6)
es-errorsis-symbolis-callableis-date-objectes-abstract-getes-define-property
npm install es-to-primitive- jsDelivr
https://cdn.jsdelivr.net/npm/es-to-primitive@1.3.4/ - unpkg
https://unpkg.com/es-to-primitive@1.3.4/ - esm.sh
https://esm.sh/es-to-primitive@1.3.4
Indexability: Indexed.