innovationDriveApp/node_modules/string.prototype.padend
2018-07-08 19:21:40 +10:00
..
test added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
.eslintrc added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
.jscs.json added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
.npmignore added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
.travis.yml added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
CHANGELOG.md added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
implementation.js added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
index.js added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
LICENSE added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
package.json added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
polyfill.js added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
README.md added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00
shim.js added Now Ui react dashboard with logo 2018-07-08 19:21:40 +10:00

String.prototype.padEnd Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

An ES7 spec-compliant String.prototype.padEnd shim. Invoke its "shim" method to shim String.prototype.padEnd if it is unavailable.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec proposal.

Most common usage:

var padEnd = require('string.prototype.padend');

assert(padEnd('foo', 5, 'bar') === 'fooba');

padEnd.shim();

assert(padEnd('foo', 2) === 'foo'.padEnd(2));

Tests

Simply clone the repo, npm install, and run npm test