Posts in Category: node js


9 npm packages you won’t believe exist

In last few years, JavaScript has become the most widely used language on earth. With the rise of JavaScript, especially node.js, the package manager of node, or npm has outplayed other popular package manager like pip (for python). There are hundreds of thousands of packages and are still growing. No wonder

Read More



Node.js event loop workflow & lifecycle in low level

A year back while describing the differences between setImmediate & process.nextTick, I wrote a bit on the low level architecture of node’s event-loop. Surprisingly, the readers of that post became more interested about the event-loop part, than the rest of the parts and I have received a lot of responses

Read More


Loopback pros and cons

Seems there are quite a few posts in different blogs and forums about loopback benefits. I have been using loopback since a while now and have noticed, the other articles probably didn’t give a two way view. It’s always subjective to compare frameworks. So, please don’t take my words as a

Read More


HTTP2 server push in depth with node.js

HTTP/2 or HTTP/2.0, the upgraded version of the HTTP network protocol is derived from an experimental protocol, named SPDY, developed by Google. It’s the first revision of HTTP protocol since HTTP1.1 and contains many useful features in it. The most interesting and promising feature of HTTP/2 is server push. This

Read More


Create ssl / https server in nodejs

Sometimes there are needs to create https in your node application itself to create real life scenario or may be to test things like http/2 server push. Today I will show you how to create https server in node js, both with and without express. I will also talk about

Read More