@async/web

Examples

The root examples/ directory documents the public Async Web example set. The runtime browser shell still includes reusable fixtures under packages/webruntime/src/examples/ until those are promoted into standalone example packages.

Run the browser shell:

pnpm --dir packages/webruntime dev

Open http://localhost:5173/.

Example Directory

ExampleFocus
hello-appminimal app defaults
simple-fullstackfrontend plus backend route graph
service-worker-cacheplatform cache storage as a service-worker-style cache
cdn-edge-cacheshared edge cache with tags and trace entries
edge-middlewareredirect, rewrite, and HTML transform middleware
multi-app-networkhost-based routing to another app
async-db-appAsyncDB route adapter placement
runtime-routingexplicit WebRuntime route control

The browser shell additionally keeps legacy streaming, request-body, platform-fetch-chain, and stateful-session-cache fixtures for coverage.

Tests

Runtime example coverage lives in:

  • packages/webruntime/tests/example-apps.test.ts
  • packages/webruntime/tests/example-route-coverage.test.ts
  • packages/webruntime/tests/browser-web-runtime.test.ts