0.1.2 • Published 4 years ago
abort-polyfill v0.1.2
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