iu2fish-left-pad

0.1.3 • Public • Published

iu2fish-left-pad

left pad numbers

###Build Build Status

Installation

npm install iu2fish-left-pad --save-dev

Usage

var leftpad = require('iu2fish-left-pad);
console.log(leftpad('test',6));
console.log(leftpad('test',6,'hh'))
console.log(leftpad('test',4,'hh'))
console.log(leftpad(1, 2, 0), '01'))

Readme

Keywords

none

Package Sidebar

Install

npm i iu2fish-left-pad

Weekly Downloads

2

Version

0.1.3

License

ISC

Last publish

Collaborators

  • iu2fish