es7-string-polyfills
v1.0.0
Published
Polyfills for String.prototype.padStart and String.prototype.padEnd
Readme
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-devUsage
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.
