equal-length

    1.0.1 • Public • Published

    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

    Keywords

    Install

    npm i equal-length

    DownloadsWeekly Downloads

    181,843

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • vdemedes