Package
string.prototype.repeat
A robust & optimized `String.prototype.repeat` polyfill, based on the ECMAScript 6 specification.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 39.5m
- +141% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 6 years ago
- v1.0.0
- GitHub stars
- 28
- 8 forks
- Open issues / PRs
- 2 / 1
- Contributors
- 5
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
39,487,881 downloads last week, 195,329,671 in the last month. The 12-month change of +141% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 03 in total
- Latest version
- 1.0.0, 21 May 20206 years ago
- First published
- 20 Dec 2013
- Last push to GitHub
- 16 Jan 20212,078 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 114
Major versions
- v1 first release 1.0.0, 21 May 2020
- v0 first release 0.1.0, 20 Dec 2013
Recent releases
| Version | Published |
|---|---|
| 1.0.0 | 21 May 2020 |
| 0.2.0 | 10 Apr 2014 |
| 0.1.0 | 20 Dec 2013 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 8.4 kB
- Dependencies (2)
es-abstractdefine-properties
npm install string.prototype.repeat- jsDelivr
https://cdn.jsdelivr.net/npm/string.prototype.repeat@1.0.0/ - unpkg
https://unpkg.com/string.prototype.repeat@1.0.0/ - esm.sh
https://esm.sh/string.prototype.repeat@1.0.0
Indexability: Indexed.