2 ms·
> The normal way to run Service Workers is using Node.js. This is false, and is not claimed in the original post. Service Workers run in the browser, and Node.
by crabmusket 3y ago
> The normal way to run Service Workers is using Node.js.
This is false, and is not claimed in the original post. Service Workers run in the browser, and Node.js is not compatible with the service worker API. By which I mean that in Node, one cannot write `self.addEventListener("fetch", event => ...)`