jack e1a2621c78 update %!s(int64=2) %!d(string=hai) anos
..
examples e1a2621c78 update %!s(int64=2) %!d(string=hai) anos
.npmignore e1a2621c78 update %!s(int64=2) %!d(string=hai) anos
README.md e1a2621c78 update %!s(int64=2) %!d(string=hai) anos
package.json e1a2621c78 update %!s(int64=2) %!d(string=hai) anos
rightpad.js e1a2621c78 update %!s(int64=2) %!d(string=hai) anos

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