yet-another-abortcontroller-polyfill

An AbortController Polyfill

Usage no npm install needed!

<script type="module">
  import yetAnotherAbortcontrollerPolyfill from 'https://cdn.skypack.dev/yet-another-abortcontroller-polyfill';
</script>

README

npm version Node.js CI

abort-controller-polyfill

A simple polyfill for abort controller with proper event handling.

This was created because other polyfills had event handling that was so far off that fixing them would have contituted just rewriting them completely.

Polyfills the following:

Development

Be sure to install dependencies. This depends on a lightweight EventTarget polyfill, but nothing else.

To run tests, just run npm test.