# equal-length

> Extend lines to equal length

Latest version **1.0.1** (published 2017-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install equal-length
pnpm add equal-length
yarn add equal-length
bun add equal-length
```

## 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.1 |
| Published | 2017-01-05 |
| First published | 2017-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | vdemedes |
| Maintainers | vdemedes |
| Keywords | equal, line |

## Links

- npm: https://www.npmjs.com/package/equal-length
- Repository: https://github.com/vadimdemedes/equal-length
- Homepage: https://github.com/vadimdemedes/equal-length#readme
- Issues: https://github.com/vadimdemedes/equal-length/issues
- npm.io page: https://npm.io/package/equal-length

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-01-05
- 1.0.0 — 2017-01-05

## README

# equal-length [![Build Status](https://travis-ci.org/vadimdemedes/equal-length.svg?branch=master)](https://travis-ci.org/vadimdemedes/equal-length)

> Extend lines to equal length


## Install

```
$ npm install --save equal-length
```


## Usage

*.join() and .split() are used only to demo line length*

```js
const equalLength = require('equal-length');

equalLength([
	'abc',
	'a'
].join('\n')).split('\n');
// => [
// 'abc',
// 'a  '
// ]
```


## API

### equalLength(input)

#### input

Type: `string`

Multiline string.


## License

MIT © [Vadim Demedes](https://github.com/vadimdemedes)

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