# leftpad

> left pad numbers

Latest version **0.0.1** (published 2017-05-03) · BSD-3-Clause license · 0 weekly downloads

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

## Install

```sh
npm install leftpad
pnpm add leftpad
yarn add leftpad
bun add leftpad
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-05-03 |
| First published | 2013-06-19 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Tom MacWright |
| Maintainers | tmcw |
| Keywords | pad, numbers, formatting, format |

## Links

- npm: https://www.npmjs.com/package/leftpad
- Repository: https://github.com/tmcw/leftpad
- Homepage: https://github.com/tmcw/leftpad#readme
- Issues: https://github.com/tmcw/leftpad/issues
- npm.io page: https://npm.io/package/leftpad

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-05-03
- 0.0.0 — 2013-06-19

## README

## leftpad

[![CircleCI](https://circleci.com/gh/tmcw/leftpad/tree/master.svg?style=shield)](https://circleci.com/gh/tmcw/leftpad/tree/master)

Like the [pad module](https://github.com/wdavidw/node-pad), except I'll remember
the argument order.

```js
var leftpad = require('leftpad');

leftpad(5, 10);
'0000000005'
```

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