dockerhub-js

0.0.2 • Public • Published

cf-left-pad

String left pad.

Install

$ npm install cf-left-pad

Usage

leftpad = require('cf-left-pad')

leftpad('foo', 5)
// => "  foo"

leftpad('foobar', 6)
// => "foobar"

leftpad(1, 2, 0)
// => "01"

dockerhub-js

/dockerhub-js/

    Package Sidebar

    Install

    npm i dockerhub-js

    Weekly Downloads

    1

    Version

    0.0.2

    License

    WTFPL

    Last publish

    Collaborators

    • otomato