This is a sample repo for running a JavaScript based Service Worker on Wasmer Edge.
Follow the quickstart guide on Wasmer Docs
wasmer run . --net
This would start an http server on
http://127.0.0.1:8080
This package is published to wasmer registry as wasmer/js-service-worker
You can try this locally.
wasmer run wasmer/js-service-worker --net
This would start an http server on
http://127.0.0.1:8080
App Info
> App Name: wasmer-js-service-worker-worker
> App URL: https://wasmer-js-service-worker-worker.wasmer.app