wasmer-examples/js-worker-wasmer-starter
Public
wasmer run wasmer-examples/js-worker-wasmer-starter

This is a simple Javascript Service Worker server template running with WinterJS.

This starter's full tutorial is available here.

Usage

Modify the logic of your the Javascript worker in the src/index.js file.

You can run the JS Service Worker locally with (check out the Wasmer install guide):

wasmer run . --net

[!TIP] You can also run wasmer run wasmer-examples/gatsby-wasmer-starter --net to run the published package locally

Open http://localhost:8080 with your browser to see the worker working!

Deploy on Wasmer Edge

The easiest way to deploy your Javascript Worker is to use the Wasmer Edge.

Live example: https://wasmer-js-worker-starter.wasmer.app/

wasmer deploy

[!NOTE] You will need to change the namespace in wasmer.toml to your own namespace and app name in app.yaml to your own app name.

JS Service Worker Wasmer starter package


Github
More packages
wasmer/js-service-worker js worker
wasmer/js-service-worker js worker
syumai/js-worker js worker
syumai
syumai
syumai
syumai
wasmer-tests/js-worker-basic js worker
JS Service Worker Wasmer starter package
JS Service Worker Wasmer starter package
JS Service Worker Wasmer starter package
JS Service Worker Wasmer starter package
JS Service Worker Wasmer starter package
JS Service Worker Wasmer starter package

Making software universally accessible