Skip to content
JS
Package

array.prototype.flatmap

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

v1.3.3, 16 Dec 2024MITCommonJSTypes: NonePolyfills and shims
$ npm install array.prototype.flatmap

Key numbers

As of 25 Sept 2026
Weekly downloads
53.8m
+82% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 year ago
v1.3.3
GitHub stars
33
5 forks
Open issues / PRs
1 / 0
Contributors
1
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 71.2m (25 Aug 2026)Low 19.5m (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.

53,776,059 downloads last week, 259,696,042 in the last month. The 12-month change of +82% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
014 in total
Latest version
1.3.3, 16 Dec 20241 year ago
First published
1 Oct 2017
Last push to GitHub
30 Dec 2025269 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
1,102

Major versions

  1. v1 first release 1.0.0, 1 Oct 2017

Recent releases

VersionPublished
1.3.316 Dec 2024
1.3.27 Sept 2023
1.3.13 Nov 2022
1.3.011 Apr 2022
1.2.51 Oct 2021
1.2.418 Nov 2020
1.2.312 Dec 2019
1.2.211 Oct 2019
1.2.124 Feb 2018
1.2.019 Jan 2018
1.1.129 Nov 2017
1.1.04 Oct 2017
1.0.12 Oct 2017
1.0.01 Oct 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.4
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (4)
call-bindes-abstractdefine-propertieses-shim-unscopables
npm install array.prototype.flatmap
  • jsDelivrhttps://cdn.jsdelivr.net/npm/array.prototype.flatmap@1.3.3/
  • unpkghttps://unpkg.com/array.prototype.flatmap@1.3.3/
  • esm.shhttps://esm.sh/array.prototype.flatmap@1.3.3
PackageWeekly downloadsGzipLast releaseModuleComparison
weakmap-polyfill1m-5 years agoCommonJS-
object-keys79.8m-7 years agoCommonJS-
array-buffer-byte-length63.3m-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.