Skip to content

deno-libs/tinyhttp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tinyhttp

nest badge GitHub Workflow Status Codecov Dependency count

WARNING! The Deno port project is frozen for now. Please help us to move to native Deno http, see #11

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/', (req, res) => {
  res.send(`Hello on ${req.url} from Deno v${Deno.version.deno} and tinyhttp! πŸ¦•`)
})

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