Skip to content
JS
Package

right-pad

Right Pad adds a padding to the right side of the string with the character of your choice or just blank space.

v1.1.1MITESM + CommonJSTypes: Bundled
$ npm install right-pad
Deprecated on npm
Use String.prototype.padEnd() instead

Key numbers

As of 25 Sept 2026
Weekly downloads
251.3k
+0% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v1.1.1
GitHub stars
2
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 436.6k (25 Nov 2025)Low 125.3k (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.

251,263 downloads last week. The 12-month change of +0% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.1
First published
-
Last push to GitHub
27 Oct 2025332 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 0.10
Runtimes
-
Unpacked size (npm)
4.1 kB
Dependencies (0)
None
npm install right-pad
  • jsDelivrhttps://cdn.jsdelivr.net/npm/right-pad@1.1.1/
  • unpkghttps://unpkg.com/right-pad@1.1.1/
  • esm.shhttps://esm.sh/right-pad@1.1.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; no category.