abort-polyfill
v0.1.2
Published
Polyfill AbortController and AbortSignal
Downloads
2
Readme
abort-polyfill
- Polyfill AbortController and AbortSignal
- Polyfill signal options to legacy fetch
Install
npm install abort-polyfill
Usage
Any browsers (IE 10+):
import 'cross-fetch/polyfill'
import 'abort-polyfill'
Node < 15:
import 'cross-fetch/polyfill'
import 'event-target-polyfill'
import 'abort-polyfill'
Node >= 15:
import 'cross-fetch/polyfill'
// no need to import polyfill