right-pad
Right Pad adds a padding to the right side of the string with the character of your choice or just blank space.
Last updated 10 years ago by matthewh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install right-pad 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (10 years ago)

6 Versions

  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.0.1-security                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 0.0.1                                ...           11 years ago
  • 0.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |