Skip to content
 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

left-pad

String left pad.

P.S: I've unpublished it from NPM.

Install

$ npm install azer/left-pad

Usage

leftpad = require('left-pad')

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

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

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

About

String left pad

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages