$ npm install sw-lib
A service worker library to make managing fetch requests and caching as easy as possible.
npm install --save-dev sw-lib
Browse sample source code in the demo directory.
You can find documentation for this module here.