Package detail

right-pad

MatthewSH1mMITdeprecated1.1.1

Use String.prototype.padEnd() instead

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

right, pad, string

readme

Right Pad

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

Usage

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

changelog