xhr4sw

Polyfill XMLHttpRequest api with fetch

Usage no npm install needed!

<script type="module">
  import xhr4sw from 'https://cdn.skypack.dev/xhr4sw';
</script>

README

SW-XHR - XMLHttpRequest polyfill for Service Workers