node package manager



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.


npm install --save-dev workbox-sw


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 to learn more about what Workbox can do for you.