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
npm install parabun-browser-shims

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

ProjectBun build targetBundler
Frontend--target browserVite
Backend--target node(Bun build alone)
Edge--target browserWrangler