Package
repeat-string
Repeat the given string n times. Fastest implementation for repeating a string.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 18.2m
- -1% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 9 years ago
- v1.6.1
- GitHub stars
- 50
- 17 forks
- Open issues / PRs
- 1 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
18,245,223 downloads last week, 79,625,599 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 017 in total
- Latest version
- 1.6.1, 23 Oct 20169 years ago
- First published
- 27 Mar 2014
- Last push to GitHub
- 17 Jan 20221,712 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 928
Major versions
- v1 first release 1.0.0, 6 Dec 2014
- v0 first release 0.1.0, 27 Mar 2014
Recent releases
| Version | Published |
|---|---|
| 1.6.1 | 23 Oct 2016 |
| 1.6.0 | 23 Oct 2016 |
| 1.5.4 | 29 Feb 2016 |
| 1.5.2 | 2 Apr 2015 |
| 1.5.1 | 1 Apr 2015 |
| 1.5.0 | 26 Jan 2015 |
| 1.4.0 | 24 Jan 2015 |
| 1.3.0 | 19 Jan 2015 |
| 1.2.0 | 23 Dec 2014 |
| 1.1.0 | 6 Dec 2014 |
| 1.0.0 | 6 Dec 2014 |
| 0.2.2 | 14 Oct 2014 |
| 0.2.1 | 1 Oct 2014 |
| 0.2.0 | 1 Oct 2014 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=0.10
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install repeat-string- jsDelivr
https://cdn.jsdelivr.net/npm/repeat-string@1.6.1/ - unpkg
https://unpkg.com/repeat-string@1.6.1/ - esm.sh
https://esm.sh/repeat-string@1.6.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @hexagon/base64 | 3.3m | - | 1 year ago | ESM + CommonJS | - |
| string-to-stream | 358.2k | - | 7 years ago | CommonJS | - |
Indexability: Indexed.