@seobryn/faster
v1.1.1
Published
Super fast Web framework for Node.js to create api and microservices
Downloads
29
Maintainers
Readme
Faster Web Framework
This is a zero dependency framework that was inspired on different web frameworks like express
, koa
, restify
and is made to make things as simple as possible and as Faster as possible.
Installation
Faster requires node.js v.18.19.0 or higher.
$ npm i @seobryn/faster
Hello World Faster
import { Faster } from '@seobryn/faster'
const app = new Faster()
app.get('/', (req, res) => {
return res.json({
Hello: "World Faster"
})
})
app.listen(3210)
Additional Features
If you want to add more, feel free to create a Plugin and send me a PR with the repo link.
- Swagger UI for Documentation: @seobryn/swagger-ui-faster
Road map
- [x] Basic Server creation.
- [x] HTTP Verbs Implemented.
- [x] Optional SSL connection.
- [x] Optional body Parser.
- [x] Error handling.
- [x] Routing implementation.
- [x] Scoped Middleware implementation.
- [x] Redirections in res API.
- [x] Event listeners for server events.
- [x] Universal Middleware implementation.