# paddy

> Tiny (60B) JavaScript module for inserting character padding into a string

Latest version **1.0.0** (published 2018-02-15) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-02-15 |
| First published | 2018-02-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Evan Wieland |
| Maintainers | evanwieland |
| Keywords | paddy, string, javscript, insert |

## Links

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

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-02-15

## README

# 🌾🌾 Paddy
Tiny (60B) JavaScript module for inserting character padding into a string

## Purpose

Paddy allows you to insert a padding of desired length and content within a string.

### Example

```js
const simpleTab     = paddy(4);
const ghostTab      = paddy(4, '👻');

const simplePhrase  = `${simpleTab}I love simple tabs!`;
const complexPhrase = `${ghostTab}I love ghost tabs!`;

console.log(simplePhrase);  // "    I love simple tabs!"
console.log(complexPhrase); // "👻👻👻👻I love ghost tabs!"
```

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