Skip to main content
Module

x/kyuko/mod.ts

Fast and easy http framework for Deno Deploy 🦕
Latest
import * as kyuko from "https://deno.land/x/kyuko@v0.6.3/mod.ts";

Classes

An ultra-light framework for http servers hosted on Deno Deploy. Visit the guide for more information.

Interfaces

The request object that is handled in Kyuko applications. Can be extended further for middleware to populate the original Request.

The response object that is handled in Kyuko applications. Responsible for storing information about the response to the request, as well as sending the response via the send() and redirect() methods.

Type Aliases

A function that is called by a KyukoMiddleware when it wants to defer some processing until after the route handler is called.

A function that is registered by a KyukoMiddleware, to be invoked after the route handling step is done.

A function that is invoked when errors are thrown within the Kyuko app. Has access to the err object as well as the req and res objects. Hands over execution to the next error handler on return.

A function that is invoked before the route handler is called. Hands over execution to the next middleware / route handler on return.

A function that is invoked in response to fetch requests. Runs after all middleware functions have been called.