The Node Beginner Blog

Your regularly updated tutorial resource for all things Node.js.

Explained: What are Node.js modules?

When you write Node.js applications, you could actually put all your code into one huge index.js file, no matter how large or complex your application is. The Node.js interpreter doesn’t care. But in terms of code organization, you would end up with a hard to understand and hard to debug mess quite quickly. So as a human being, you should care about how to structure your code. This is where modules come in.

Read more

Node.js tutorial: Optimizing code performance using async

The more complex your Node.js applications become, the more you need to think about the so-called control-flow of your code. Especially when the need arises to optimize operations in terms of efficiency and performance by introducing background operations and parallelity, the code can quickly become a mess. Let’s see what that means and what we can do about it.

Read more

Node.js tutorial: The WHATWG URL parser

The recently released version 8.0.0 of Node.js made the experimental implementation of the WHATWG URL parser from Node.js v7.0.0 non-experimental and fully supported. Here’s what you can use it for.

Read more

Node.js 8.0.0 has been released

The Node.js team has recently released a new major version of Node.js - Node v8.0.0.

Read more