Skip to content
JS
Package

repeat-element

Create an array by repeating the given value n times.

v1.1.4, 7 Apr 2021MITCommonJSTypes: NoneNode.js utilities
$ npm install repeat-element

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
05m10m15m20mSept 2025Mar 2026Sept 2026High 15.6m (21 Oct 2025)Low 5.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.

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

  1. v1 first release 1.0.0, 11 Jan 2015

Recent releases

VersionPublished
1.1.47 Apr 2021
1.1.319 Aug 2018
1.1.27 May 2015
1.1.17 May 2015
1.1.026 Jan 2015
1.0.011 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/repeat-element@1.1.4/
  • unpkghttps://unpkg.com/repeat-element@1.1.4/
  • esm.shhttps://esm.sh/repeat-element@1.1.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.