Package
array.prototype.flatmap
An ES2019 spec-compliant `Array.prototype.flatMap` shim/polyfill/replacement that works as far down as ES3.
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
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
- v1 first release 1.0.0, 1 Oct 2017
Recent releases
| Version | Published |
|---|---|
| 1.3.3 | 16 Dec 2024 |
| 1.3.2 | 7 Sept 2023 |
| 1.3.1 | 3 Nov 2022 |
| 1.3.0 | 11 Apr 2022 |
| 1.2.5 | 1 Oct 2021 |
| 1.2.4 | 18 Nov 2020 |
| 1.2.3 | 12 Dec 2019 |
| 1.2.2 | 11 Oct 2019 |
| 1.2.1 | 24 Feb 2018 |
| 1.2.0 | 19 Jan 2018 |
| 1.1.1 | 29 Nov 2017 |
| 1.1.0 | 4 Oct 2017 |
| 1.0.1 | 2 Oct 2017 |
| 1.0.0 | 1 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- jsDelivr
https://cdn.jsdelivr.net/npm/array.prototype.flatmap@1.3.3/ - unpkg
https://unpkg.com/array.prototype.flatmap@1.3.3/ - esm.sh
https://esm.sh/array.prototype.flatmap@1.3.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| weakmap-polyfill | 1m | - | 5 years ago | CommonJS | - |
| object-keys | 79.8m | - | 7 years ago | CommonJS | - |
| array-buffer-byte-length | 63.3m | - | 1 year ago | CommonJS | - |
Indexability: Indexed.