The Node Beginner Blog

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

Setting up a JavaScript project for ES6 development with Babel and Webpack

JavaScript is a language and an ecosystem which constantly evolves. This changes the way we can write JavaScript and Node.js code, and it often demands special tooling to be able to do so. This tutorial shows how to set up a project with Babel and Webpack, which allows you to write modern ES6 JavaScript code for the browser and the server.

Read more

JavaScript News and Resources - October 2017

The first issue of our monthly JavaScript ecosystem and community overview gets you covered with the most important reports, tutorials, and resources of the month.

Read more

Node.js tutorial: Super-fast web applications with the WebSocket protocol

The WebSocket protocol is an extension to the HTTP ecosystem which allows to create live connections between a web server and a web browser, enabling web applications to efficiently exchange data in real-time without the overhead of conventional HTTP connections. Node.js is perfectly suited for writing WebSocket applications, and this tutorial explains how it all works.

Read more

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