I released the first official version of server.js, a library to make developing a web server in Node.js a lot easier. Based on express, socket.io, helmet and more.
I have taught Node.js + express.js to quite some people and there’s always a point where I just have to say: “this part is way too complex to explain at this point, so just copy/paste this”. This breaking point is connecting express.js to all those middlewares.
Note: thanks to npm making this possible and for their awesome support.
You might be surprised to know that I am developing server.js under the npm name “server”, so I can direct users to just do npm install server. Wait, wasn’t this package taken already?
npm install server
This release marks the end of a way longer than expected development cycle and the first public release for testing. The core functionality for this version is released and will be kept compatible for the full 1.x cycle.
It just became apparent to me that an async function that is called returns a Promise and that is really great. The reason is that there are few libraries that work great with it, including server for Node.js and Jest.
Good news: from Node.js 7.6 you have…
This is the journey of creating a simple and powerful server for Node.js.
I decided to step back and change the way middleware works before committing to 1.0.0. It hasn’t been easy, however I think that we can achieve a lot more with ES6+ than with…