GitHub - sheffercool/js-worker: JS worker starter for Wasmer

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 .

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