Skip to content
JS
Package

es5-shim

ECMAScript 5 compatibility shims for legacy JavaScript engines

v4.6.7, 3 May 2022MITCommonJSTypes: NonePolyfills and shims
$ npm install es5-shim

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
-14% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v4.6.7
GitHub stars
7.1k
876 forks
Open issues / PRs
38 / 7
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.8m (25 Nov 2025)Low 586.7k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,026,034 downloads last week, 4,509,177 in the last month. The 12-month change of -14% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
092 in total
Latest version
4.6.7, 3 May 20224 years ago
First published
27 Jan 2011
Last push to GitHub
30 Dec 2025269 days before the snapshot
Repository archived
No
Open issues
38
Open pull requests
7
Commits, last 52 weeks
1
Dependents on npm
281

Major versions

  1. v4 first release 4.0.0, 10 Jul 2014
  2. v3 first release 3.0.1, 19 Apr 2014
  3. v2 first release 2.0.0, 8 Oct 2012
  4. v0 first release 0.0.0, 27 Jan 2011
  5. v1 first release 1.0.0, 27 Jan 2011

Recent releases

VersionPublished
4.6.73 May 2022
4.6.622 Apr 2022
4.6.59 Feb 2022
4.6.421 Dec 2021
4.6.321 Dec 2021
4.6.21 Sept 2021
4.6.11 Sept 2021
4.6.01 Sept 2021
4.5.155 Jan 2021
4.5.1422 Mar 2020
4.5.137 Apr 2019
4.5.1227 Sept 2018
4.5.111 Sept 2018
4.5.1016 Dec 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.4.0
Runtimes
-
Unpacked size (npm)
465 kB
Dependencies (0)
None
npm install es5-shim

CDN

jsDelivr: 411k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/es5-shim@4.6.7/
  • unpkghttps://unpkg.com/es5-shim@4.6.7/
  • esm.shhttps://esm.sh/es5-shim@4.6.7
PackageWeekly downloadsGzipLast releaseModuleComparison
weakmap-polyfill1m-5 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
@thednp/dommatrix182k-22 days agoESM + CommonJS-
map-like23.5k-9 years agoCommonJS-
object_values18k-9 years agoCommonJS-
@bloomberg/record-tuple-polyfill76.8k-4 years agoESM + CommonJS-
array-buffer-byte-length63.3m-1 year agoCommonJS-
fake-indexeddb4.9m-10 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.