left-pad.io-client

0.0.3 • Public • Published

left-pad.io-client

Left padding has never been so easy

Makes using the magnificient left-pad.io API super easy

Install

$ npm install left-pad.io-client

Usage

leftpad = require('left-pad.io-client')
 
leftpad('foo', 5)
// => "  foo"
 
leftpad('foobar', 6)
// => "foobar"
 
leftpad(1, 2, 0)
// => "01"

Note

Please don't use this in Production This WILL use bandwidth, yours and theirs... :)

Package Sidebar

Install

npm i left-pad.io-client

Weekly Downloads

3

Version

0.0.3

License

WTFPL

Last publish

Collaborators

  • malix