Skip to main content
Deno 2 is finally here 🎉️
Learn more
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

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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

Interfaces

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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.

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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

*]:space-x-2 [&>*]:min-w-[13rem] [&>*]:flex [&>*]:items-center">

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