right-pad
Please use String.prototype.padEnd() over this package.
Last updated 9 years ago by nj48 .
ISC · Original npm · Tarball · package.json
$ npm 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 (8 years ago)

6 Versions

  • 1.0.1 [deprecated]           ...           8 years ago
  • 1.0.0 [deprecated]           ...           9 years ago
  • 0.0.1-security [deprecated]           ...           9 years ago
  • 2.0.0 [deprecated]           ...           9 years ago
  • 0.0.1 [deprecated]           ...           9 years ago
  • 0.0.0 [deprecated]           ...           10 years ago
Maintainers (1)
Downloads
Total 1
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE