Skip to content

[IN DEVELOPMENT] 🦕 Deno port of tinyhttp, 0-legacy, tiny & fast web framework

License

Notifications You must be signed in to change notification settings

deno-libs/tinyhttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyhttp

nest badge GitHub release (latest by date) GitHub Workflow Status Codecov

This is a Deno port of tinyhttp, 0-legacy, tiny & fast web framework as a replacement of Express.

WARNING! This port is very unstable and is not well tested yet. Wait for the v2 release of tinyhttp for a complete version (see talentlessguy/tinyhttp#198)

Example

import { App } from 'https://deno.land/x/tinyhttp/app.ts'

const app = new App()

app.get('/:name/', (req, res) => {
  res.send(`Hello on ${req.url} from Deno v${Deno.version.deno} and tinyhttp! 🦕`)
})

app.listen(3000, () => console.log(`Started on :3000`))