workbox-sw
A service worker library to make managing fetch requests and caching as easy as possible. It provides a high-level wrapper on top of a number of individual modules, giving you a consistent, powerful interface.
Installation
npm install --save-dev workbox-sw
Documentation
Read more at this module's documentation page.
Sample Code and Examples
View the live example to see this module put to use.
What's Workbox?
This module is a part of Workbox, which is a collection of JavaScript libraries for Progressive Web Apps.
Visit https://workboxjs.org/ to learn more about what Workbox can do for you.