1.0.0 • Published 8 years ago
es7-string-polyfills v1.0.0
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.
1.0.0
8 years ago