npm i @tinyhttp/apppnpm i @tinyhttp/appbun i @tinyhttp/appimport { App } from '@tinyhttp/app'
import { logger } from '@tinyhttp/logger'
const app = new App()
app
.use(logger())
.get('/', (_, res) => void res.send('<h1>Hello World</h1>'))
.get('/page/:page/', (req, res) => {
res.status(200).send(req.params)
})
.listen(3000)Help support future development and make tinyhttp a sustainable open-source project: