AbortController polyfill

JSON →
library 1.7.8 ·javascript maintenance
verified Jun 7, 2026

Polyfill for the AbortController DOM API, enabling abortable fetch() in browsers that don't yet support it. Current version is 1.7.8 (last release June 2022, low maintenance). It doesn't actually cancel the underlying network request but simulates abort behavior by rejecting the promise with an AbortError. Can also polyfill AbortController/AbortSignal alone without patching fetch. Supports both browser and Node.js usage via CJS or ESM imports. Alternative to using native AbortController or other polyfills like abort-controller.