@coatl/http
v0.0.2
Published
A simple, fast, and lightweight HTTP framework for NodeJs
Downloads
1
Maintainers
Readme
Coatl/http
@coatl/http is a library for building HTTP services like a express server but more fast 🚀
Usage
import { Http } from '@coatl/http'
const app = new Http() // Create a new instance of Http
app.get('/:username', (req, res) => {
res.send(`Hello ${req.params.username}`)
})
app.run()
Features
- [x] Middleware support
- [x] Route params
- [x] Route queries
- [x] Async Await support
- [x] Static files
- [x] Cors support
- [x] Body parser (json, text, html)