Skip to content
JS
Package

es-to-primitive

ECMAScript “ToPrimitive” algorithm. Provides ES5 and ES2015 versions.

v1.3.4, 26 Jun 2026MITCommonJSTypes: BundledPolyfills and shims
$ npm install es-to-primitive

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
025m50m75m100mSept 2025Mar 2026Sept 2026High 89.1m (25 Aug 2026)Low 25.9m (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.

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

  1. v1 first release 1.0.0, 19 Mar 2015

Recent releases

VersionPublished
1.3.426 Jun 2026
1.3.325 Jun 2026
1.3.225 Jun 2026
1.3.116 Jun 2026
1.3.026 Nov 2024
1.2.19 Nov 2019
1.2.027 Sept 2018
1.1.14 Jan 2016
1.0.14 Jan 2016
1.1.027 Dec 2015
1.0.019 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/es-to-primitive@1.3.4/
  • unpkghttps://unpkg.com/es-to-primitive@1.3.4/
  • esm.shhttps://esm.sh/es-to-primitive@1.3.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.