1.0.2 • Published 7 years ago
right-pad-test v1.0.2
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"