equal-length
Extend lines to equal length
Last updated 10 years ago by vdemedes .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install equal-length 
SYNC missed versions from official npm registry.

equal-length Build Status

Extend lines to equal length

Install

$ npm install --save equal-length

Usage

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

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

Current Tags

  • 1.0.1                                ...           latest (10 years ago)

2 Versions

  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 30
Today 2
This Week 7
This Month 21
Last Day 3
Last Week 4
Last Month 8
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE