News for hackers. Stuff that matters.
Re:Node.js 20 is now available by franciscop on Tuesday April 18, 2023 @09:38PM (#35623214)
I created Server.js https://serverjs.io/ and still use it. It is a wrapper around express:

- With a bunch of middleware included and pre-configured, like body-parser, cookies, Helmet, etc. All express middleware works with Server.js

- async/await routers as expected: get('/users', async (ctx) => {...}); (ctx inspired by Koa)

- Websockets, where messages behave just as another route: socket('message', async ctx => { ... });

There are no comments on this comment yet.