Skip to content
JS
Package

array.prototype.with

An ESnext spec-compliant `Array.prototype.with` shim/polyfill/replacement that works as far down as ES3.

v1.1.6, 22 Mar 2024MITCommonJSTypes: NonePolyfills and shims
$ npm install array.prototype.with

Key numbers

As of 25 Sept 2026
Weekly downloads
17.5k
+1603% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
2 years ago
v1.1.6
GitHub stars
0
1 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15k20kSept 2025Mar 2026Sept 2026High 17.5k (15 Sept 2026)Low 205 (21 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

17,458 downloads last week, 43,026 in the last month. The 12-month change of +1603% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.6, 22 Mar 20242 years ago
First published
-
Last push to GitHub
12 May 2025500 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (5)
call-bindes-errorses-abstractdefine-propertiesset-function-name
npm install array.prototype.with
  • jsDelivrhttps://cdn.jsdelivr.net/npm/array.prototype.with@1.1.6/
  • unpkghttps://unpkg.com/array.prototype.with@1.1.6/
  • esm.shhttps://esm.sh/array.prototype.with@1.1.6
PackageWeekly downloadsGzipLast releaseModuleComparison
weakmap-polyfill1m-5 years agoCommonJS-
@thednp/dommatrix182k-22 days agoESM + CommonJS-
map-like23.5k-9 years agoCommonJS-
object_values18k-9 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
array-buffer-byte-length63.3m-1 year agoCommonJS-
ie-array-find-polyfill8.6k-9 years agoCommonJS-
@bloomberg/record-tuple-polyfill76.8k-4 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.