jack e1a2621c78 update 2 years ago
..
examples e1a2621c78 update 2 years ago
.npmignore e1a2621c78 update 2 years ago
README.md e1a2621c78 update 2 years ago
package.json e1a2621c78 update 2 years ago
rightpad.js e1a2621c78 update 2 years ago

README.md

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...