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...
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 adds a "padding" to the right side of the string with the character of your choice or just blank space.
var rightpad = require("right-pad");
rightpad("hello world", 14, "."); // => hello world...
ee3e02f
Thanks @MatthewSH! - added npm ignore0bde08e
Thanks @MatthewSH! - typescript and monorepo