workbox-background-sync

Queues failed requests and uses the Background Sync API to replay them when the network is available

Usage no npm install needed!

<script type="module">
  import workboxBackgroundSync from 'https://cdn.skypack.dev/workbox-background-sync';
</script>