Package
repeat-element
Create an array by repeating the given value n times.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 10.1m
- -14% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 years ago
- v1.1.4
- GitHub stars
- 19
- 7 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
10,061,617 downloads last week, 39,237,775 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
- 06 in total
- Latest version
- 1.1.4, 7 Apr 20215 years ago
- First published
- 11 Jan 2015
- Last push to GitHub
- 7 Apr 20211,996 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 691
Major versions
- v1 first release 1.0.0, 11 Jan 2015
Recent releases
| Version | Published |
|---|---|
| 1.1.4 | 7 Apr 2021 |
| 1.1.3 | 19 Aug 2018 |
| 1.1.2 | 7 May 2015 |
| 1.1.1 | 7 May 2015 |
| 1.1.0 | 26 Jan 2015 |
| 1.0.0 | 11 Jan 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10.0
- Runtimes
- -
- Unpacked size (npm)
- 5.3 kB
- Dependencies (0)
- None
npm install repeat-element- jsDelivr
https://cdn.jsdelivr.net/npm/repeat-element@1.1.4/ - unpkg
https://unpkg.com/repeat-element@1.1.4/ - esm.sh
https://esm.sh/repeat-element@1.1.4
Indexability: Indexed.