@inkly/deno
v0.0.0
Published
Deno runtime adapter for inkly (Deno.upgradeWebSocket).
Readme
@inkly/deno
Deno runtime adapter for inkly using Deno.upgradeWebSocket and Deno.serve.
Usage
import { serve } from "@inkly/deno";
import { app } from "./app.ts";
serve(app, { port: 3000, hostname: "127.0.0.1", path: "/ws" });For tests or custom embedding, use the pure handler:
import { createDenoHandler } from "@inkly/deno";
Deno.serve({ port: 3000 }, createDenoHandler(app, { path: "/ws" }));Verification caveat
The adapter is unit-tested under Node/Vitest with an injected fake upgradeWebSocket, which exercises the real inkly core wiring. Deno is not installed in this environment, so serve() is typechecked but not runtime-tested against a live Deno process here.
