right-pad-test

1.0.2 • Public • Published

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"

Package Sidebar

Install

npm i right-pad-test

Weekly Downloads

1

Version

1.0.2

License

WTFPL

Last publish

Collaborators

  • iamkik