Skip to main content

@fartlabs/rt@0.0.2

Minimal HTTP router library based on the URLPattern API.

Works with
It is unknown whether this package works with Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Browsers
JSR Score
100%
Published
5 days ago
indexHandle
interface Handle
deno add @fartlabs/rt
import { type Handle } from "@fartlabs/rt";
npx jsr add @fartlabs/rt
import { type Handle } from "@fartlabs/rt";
yarn dlx jsr add @fartlabs/rt
import { type Handle } from "@fartlabs/rt";
pnpm dlx jsr add @fartlabs/rt
import { type Handle } from "@fartlabs/rt";
bunx jsr add @fartlabs/rt
import { type Handle } from "@fartlabs/rt";

Handle is called to handle a request.

Type Parameters

T extends string = string

Call Signatures