Express Service Worker
Extend express to run as a service worker in the browser
Install
npm install sw-express
Use
; const app = ; // This is a custom body parser for fetch requests.app; app; // Handle errorsapp; // Listen to a URL, not a port. This will intercept any requests made to this url.app;