string-polyfills
v0.9.1
Published
All polyfills about String
Downloads
690
Maintainers
Readme
string-polyfills
The lastest version of this document is available on Github > 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
for browsers
<script src="node_modules/string-polyfills/distrib/string-polyfills.min.js"></script>
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