Skip to content

Wellenline/hum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hum

Simple HTTP routing library

Basic Example

import { app, Get, Hum, Resource } from "https://deno.land/x/hum@v0.0.4/mod.ts";

@Resource()
export class Hello {
  @Get("/hello")
  public async index() {
    return {
      hello: "world",
    };
  }
}

Hum({
  port: 3000,
});