Homepage
Open in app
Sign inGet started

server.js for Node

npm install server

Go to the profile of Francisco Presencia
Francisco Presencia
Nov 1, 2017

Server.js 1.0 released — for Node.js 8 LTS

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.
Read more…
Go to the profile of Francisco Presencia
Francisco Presencia
Jun 20, 2017

About server.js

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.

Read more…
Go to the profile of Francisco Presencia
Francisco Presencia
Jun 20, 2017

Getting a great npm name

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?

Read more…
1 response
Go to the profile of Francisco Presencia
Francisco Presencia
Jun 9, 2017

Server.js beta 1 released

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.

Read more…
Go to the profile of Francisco Presencia
Francisco Presencia
Apr 5, 2017

Async/Await are awesome

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…
Read more…
3 responses
Go to the profile of Francisco Presencia
Francisco Presencia
Jan 28, 2017

Server’s middleware ♥ Promises

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…

Read more…
About Server for Node.jsLatest StoriesArchiveAbout MediumTermsPrivacyTeams