Command Palette

Search for a command to run...

winterjs package icon
wasmer/winterjs

wasi

Public
wasmer run wasmer/winterjs

WinterJS

The JavaScript server that runs Service Workers according to the Winter Community Group specification.

Running WinterJS with Wasmer

The WinterJS server is published in Wasmer as wasmer/winterjs.

You can run the HTTP server locally with:

wasmer run wasmer/winterjs --net --mapdir=tests:tests tests/simple.js

Where simple.js is:

addEventListener('fetch', (req) => {
  return "hello";
});

Running WinterJS Natively

You can run WinterJS natively by simply doing

cargo run -- tests/simple.js

And then access the server in https://localhost:8080/

How WasmerJS works

Wasmer Winter is powered by SpiderMonkey and Axum to bring a new level of awesomeness to your Javascript apps.

To compile the app to WebAssembly WinterJS is using the WASIX standard.

The JavaScript runtime that brings JavaScript to Wasmer Edge.


Github
More packages
The JavaScript runtime that brings JavaScript to Wasmer Edge.
The JavaScript runtime that brings JavaScript to Wasmer Edge.
The JavaScript runtime that brings JavaScript to Wasmer Edge.
Javascript WCGI handler