right-pad

1.0.1 • Public • Published

Right Pad

Right Pad adds a "padding" to the right side of the string with the character of your choice or just blank space.

Install

$ npm install right-pad

Usage

var rightpad = require('right-pad');
rightpad('hello world', 14, '.'); // => hello world...

Readme

Keywords

Package Sidebar

Install

npm i right-pad

Weekly Downloads

242,691

Version

1.0.1

License

MIT

Last publish

Collaborators

  • matthewh