# right-pad

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

Latest version **1.1.1** (published 2025-04-23) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install right-pad
pnpm add right-pad
yarn add right-pad
bun add right-pad
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2025-04-23 |
| First published | 2014-06-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 0.10 |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2 |
| Author | matthewh |
| Maintainers | matthewh |
| Keywords | right, pad, string |

## Links

- npm: https://www.npmjs.com/package/right-pad
- Repository: https://github.com/MatthewSH/npm-packages
- Issues: https://github.com/MatthewSH/npm-packages/issues
- npm.io page: https://npm.io/package/right-pad

## Alternatives

- [@snazzah/davey](https://npm.io/package/@snazzah/davey.md) — 1.5M weekly downloads
- [@vendure/testing](https://npm.io/package/@vendure/testing.md) — 8.3K weekly downloads
- [vue-simple-context-menu](https://npm.io/package/vue-simple-context-menu.md) — 6.6K weekly downloads
- [cypress-webpack-preprocessor-v5](https://npm.io/package/cypress-webpack-preprocessor-v5.md) — 2.1K weekly downloads
- [@backstage/plugin-catalog-backend-module-puppetdb](https://npm.io/package/@backstage/plugin-catalog-backend-module-puppetdb.md) — 1.3K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2025-04-23
- 1.1.0 — 2025-04-23
- 1.0.1 — 2016-08-04
- 1.0.0 — 2016-04-19
- 0.0.1-security — 2016-03-23
- 2.0.0 — 2016-03-22
- 0.0.1 — 2015-05-20
- 0.0.0 — 2014-06-03

## README

# Right Pad

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

## Usage

```javascript
var rightpad = require("right-pad");
rightpad("hello world", 14, "."); // => hello world...
```

---
_Source: https://npm.io/package/right-pad · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
