Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panthershark/substr-polyfill
Modular polyfill for substr(-1) for IE browsers
https://github.com/panthershark/substr-polyfill
Last synced: about 2 months ago
JSON representation
Modular polyfill for substr(-1) for IE browsers
- Host: GitHub
- URL: https://github.com/panthershark/substr-polyfill
- Owner: panthershark
- License: mit
- Created: 2014-02-21T22:08:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T12:23:12.000Z (about 7 years ago)
- Last Synced: 2024-09-24T14:52:03.827Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
substr-polyfill
===============Modular polyfill for substr(-1) for IE browsers.
Credit goes to MDN for the polyfill code and to [mulllhausen](https://github.com/mulllhausen) for a bugfix. This repo is here so npm and bower can include it easily.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr
## Bower Install
```
bower install substr-polyfill
```Use -S to save to bower.json
```
bower install -S substr-polyfill
```## NPM Install
```
npm install substr-polyfill
```To save to package.json
```
npm install substr-polyfill --save
```