Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/keywork/router/interfaces/mod.ts

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
import * as keywork from "https://deno.land/x/keywork@v6.2.1/router/interfaces/mod.ts";

Interfaces

Cloudflare Usage

Events are handled by defining and exporting an object with method handlers that correspond to event names:

Middleware implementation of fetch

Public endpoints to aid in debugging your app. Available at /keywork/*

Options to configure the Worker Router.

A function or method that handles incoming requests and replies with a Response.

An environment binding within a worker that has a fetch method. This usually is related to static assets uploaded to Cloudflare KV via Wrangler's Worker Sites.