Neoclassical Programming Multitude
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    leftpadpublic

    This package has been deprecated

    Author message:

    Use the built-in String.padStart function instead

    leftpad

    CircleCI

    Like the pad module, except I'll remember the argument order.

    var leftpad = require('leftpad');
     
    leftpad(5, 10);
    '0000000005'

    install

    npm i leftpad

    Downloadsweekly downloads

    7,172

    version

    0.0.1

    license

    BSD-3-Clause

    repository

    githubgithub

    last publish

    collaborators

    • avatar