Building with Nwire
The L1 → L4 ladder. Start with one route and grow into actors, events, projections, and workflows as the domain demands it. The 80% path.
Start at L1
Three buckets of primitives. Same operation runs on HTTP, queue, or MCP.
import { httpInterface, endpoint } from "@nwire/http"
const api = httpInterface()
api.get("/hello", () => ({ message: "hello world" }))
await endpoint("hello", { port: 3000 }).serve(api).run()That is the whole program. Five lines, one route, graceful shutdown included.
Each is a complete path on its own. Pick the one that matches your goal.
Pre-release. Driving the AMIT learning platform in production at 200apps; ecw, sparkil, momentum, water-dome, service-trax, nfk migrations in progress. APIs may still evolve. Tracking on GitHub. MIT-licensed.