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.
Faster requires node.js v.18.19.0 or higher.
$ npm i @seobryn/fasterimport { Faster } from '@seobryn/faster'
const app = new Faster()
app.get('/', (req, res) => {
return res.json({
Hello: "World Faster"
})
})
app.listen(3210)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
- Basic Server creation.
- HTTP Verbs Implemented.
- Optional SSL connection.
- Optional body Parser.
- Error handling.
- Routing implementation.
- Scoped Middleware implementation.
- Redirections in res API.
- Event listeners for server events.
- Universal Middleware implementation.