Skip to content

tachanokkik/right-pad-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

$ npm install right-pad-test

Usage

const rightPad = require('right-pad')

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

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

rightPad(1, 2, '0')
// => "10"

rightPad(17, 5, 0)
// => "17000"

Releases

No releases published

Packages

No packages published