kuusi

Simple, configurable, six

Your next TypeScript-friendly backend framework for Deno

Kuusi Logo

Setup

Setting up is as easy as yksi, kaksi, kolme.

Building an API has never been so simple.

deno run -Ar jsr:@kuusi/init trillion-dollar-project

Simple file-based routing

Easily extensible for maximum flexibility.

Regular, webhook and websocket endpoints are all supported.

import { getKuusiRoutes, kuusi, dotenv } from "@kuusi/kuusi";
  
const routes = await getKuusiRoutes();  
  
Deno.serve({ port: dotenv.PORT }, async function (req) {  
  return await kuusi(req, routes);  
});  
  

Configure with ease

Configure however you desire.

Your app, your rules!

import { KuusiConfig } from "@kuusi/kuusi/types";
  
const config = new KuusiConfig({  
  routes: {  
    path: "customRoutesDir/",  
    warnAmbiguousRoutes: true,  
  },  
  dotenv: {  
    export: true,  
    requiredPath: "newRequired.env",  
  },  
});  
  
export default config;  

Loved by the community

What experts random people say about it

Loading GitHub stats...

  • These folks like it
  • Kuusi is a super cool router for deno that is owned by a super cool human.
    CJ
  • The best 🇫🇮🇫🇮🇫🇮 FINLAND inspired backend framework
    HappiePlant
  • The "easy as yksi kaksi kolme" statement made me think about sauna.
    Elziy