Skip to content

Examples

Three worked projects. Each is a complete project: file layout, source, build commands, deploy notes.

  • Frontend — todo list with reactive DOM updates. Vite + vanilla DOM. Output is static.
  • Backend — WebSocket server with per-connection signals and an SSE stats endpoint. Node 18+.
  • Edge — HTTP handler with per-request signal scope and a Durable Object rate limiter. Cloudflare Workers.

All three projects use the same setup:

Terminal window
# Install the @para/* packages your code uses, e.g.:
npm install @para/signals @para/parallel @para/pipeline

…plus a one-line bundler alias mapping para:* to @para/* (see the install guide for the per-bundler snippets), and parabun build to transpile .pts files.

Projectparabun build targetBundler
Frontend--target browserVite
Backend--target node(parabun build alone)
Edge--target browserWrangler