es7-string-polyfills

1.0.0 • Public • Published

Polyfills for String.prototype.padStart and String.prototype.padEnd

Based on the reference implementation by tc39 found here.

Install

Install with

npm install es7-string-polyfills --save-dev

Usage

Load it in your code with an import statement:

import "es7-string-polyfills";

Or from a script tag:

<script src="../node_modules/es7-string-polyfills/polyfill.min.js"></script>

The polyfills will be applied automatically if necessary.

Readme

Keywords

none

Package Sidebar

Install

npm i es7-string-polyfills

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • wessberg