Tinyhttp
[DEPRECATED] 🦕 Deno port of tinyhttp, 0-legacy, tiny & fast web framework
Install / Use
/learn @deno-libs/TinyhttpREADME
<div align="center">
<img src="https://raw.githubusercontent.com/deno-libs/tinyhttp/master/logo.svg" />
<h1 align="center">DEPRECATED! Use <code>npm:@tinyhttp/app</code> directly</h1>
</div>
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`))
