deno-libs / tinyhttp

[IN DEVELOPMENT] πŸ¦• Deno port of tinyhttp, 0-legacy, tiny & fast web framework

Home Page:https://deno.land/x/tinyhttp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tinyhttp

nest badge GitHub Workflow Status Codecov Dependency count

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

Example

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

const app = new App()

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

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

About

[IN DEVELOPMENT] πŸ¦• Deno port of tinyhttp, 0-legacy, tiny & fast web framework

https://deno.land/x/tinyhttp

License:MIT License


Languages

Language:TypeScript 100.0%