string-polyfills
Goal
The purpose of this module is to gather all the polyfills on the strings in a single module without dependencies.
Availables operations
- endsWith
- startsWith
- fromCodePoint
- includes
- padEnd
- padStart
- repeat
- substr
- trim
- trimLeft
- trimRight
Installation
npm install string-polyfills --save
or
yarn add string-polyfills --save
prerequisites
$3
Note tests with IE 11, IE 10, Chrome 64, Firefox 58
Author & License
- Sylvain Longepée
- Released under MIT license
- Based on separated scripts referenced at
MDN