yetanotherpad

1.0.2 • Public • Published

Usage

let pad = require("yetanotherpad")

function test(){
    [
        pad.left("hello", 10, '-');      // -----hello
        pad.right("hello", 10, '-');     // hello-----
        pad.left('test', 10, '1234');    // 111111test
        pad.right('test', 10, '1234');   // test111111
    ]
    .forEach((x)=>console.log(x))
}    

/yetanotherpad/

    Package Sidebar

    Install

    npm i yetanotherpad

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    1.51 kB

    Total Files

    4

    Last publish

    Collaborators

    • rozemyne