Neurologically Paralyzing Mouseovers

    pad-left-simple

    1.0.1 • Public • Published

    Pad left simple

    Build Status

    Pad left with some chars given a fixed length. An implementation of pad left at its simplest.

    Install

    npm install --save pad-left-simple
    

    Usage

    var padLeft = require('pad-left-simple');
     
    padLeft('hello', 10); // "     hello"
    padLeft('10101', 10, '0'); // "0000010101"

    Test

    npm test
    

    Why not other packages?

    There is no other reason, this implementation is just simpler and might not be that efficient.

    Keywords

    none

    Install

    npm i pad-left-simple

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • ycm.jason