The fourth edition of Node.js Design Patterns is here. As one of the authors, I share why we wrote a new edition, what's new, and my thoughts on where Node.js is heading.
#node-js
56 posts
18 Dec 2025
22 Oct 2024
Node.js 23 is here, and it’s bringing some exciting changes and improvements to the runtime. With this release, Node.js 23 takes over as the ‘Current’ version, replacing Node.js 22, which is moving into Long-Term Support (LTS) later this month. What’s New in Node.js 23 Default ESM in require() One of the biggest updates in Node.js […] The post Node.js 23:…
3 May 2024
Let’s explore the updates brought by Node.js 22, which promises enhancements in performance and development flexibility. Direct download links are available here. Here’s a rundown of the key features and improvements in the latest release. Stable WebSocket Support: Node.js 22 now offers stable WebSocket support, which was previously experimental. This means we can use the […] The post Node.js 22…
24 Jan 2024
This article discuss the reason why I wanted to migrate this blog from Gatsby to Astro and the process I followed to do it. Plus a bunch of interesting and quirky bugs that I had to troubleshoot and fix along the way.
30 Oct 2023
Download & Update Node.js to the Latest Version! Node v24.10.0 Current / LTS v22.20.0 Direct Links
RisingStackDirect download links to update to the latest Node.js versions: Node v21.1.0 / LTS v20.9.0 The post Download & Update Node.js to the Latest Version! Node v24.10.0 Current / LTS v22.20.0 Direct Links appeared first on RisingStack Engineering.
25 Oct 2023
The latest major version of Node.js has just released with a few new interesting experimental features and a lot of fixes and optimization. You can find our highlights from the release notes. Built-in WebSocket client A browser-compatible WebSocket implementation has been added to Node.js with this new release as an experimental feature. You can give […] The post Node.js 21…
17 Mar 2023
In this article, we'll focus on the most popular JavaScript frameworks, and explore why they're either loved or disliked by developers. The post The Best JavaScript Frameworks: Pros and Cons Explained appeared first on RisingStack Engineering.
7 Sept 2022
In the early 1990s, Brendan Eich needed a scripting language for web pages that would be easy to use, so he created one himself. The post History of JavaScript on a Timeline appeared first on RisingStack Engineering.
10 May 2022
A brief overview of what the fs module does in Node.js and how you can use it to interact with your files. The post The fs Module in Node.js: A Short Guide to File System Interaction appeared first on RisingStack Engineering.
17 Feb 2022
In this article below, we list ways for you to check your Node version with different methods, on different operating systems. The post How to check Node version appeared first on RisingStack Engineering.
24 Jun 2021
From this D3.js Bar Chart tutorial you can learn how to create beautiful, interactive JavaScript bar charts and graphs! Real life examples and code-snippets inside. The post D3.js Bar Chart Tutorial: Build Interactive JavaScript Charts and Graphs appeared first on RisingStack Engineering.
14 Jun 2021
Learn to generate a Puppeteer PDF document from a heavily styled React page using Node.js, headless Chrome and Docker. The post Puppeteer HTML to PDF Generation with Node.js appeared first on RisingStack Engineering.
10 Jun 2021
Learn how to use async await in Node.js (async functions) to simplify your callback or Promise based application. The post Async Await in Node.js – How to Master it? appeared first on RisingStack Engineering.
16 Feb 2021
In this blogpost we showcase a Node.js webapp that does real-time synchronization on multiple machines, which we implemented using Socket.io. The post Building a Real-Time Webapp with Node.js and Socket.io appeared first on RisingStack Engineering.
27 Oct 2020
Learn the basics of Flutter: CLI, widgets, alignment, lists, themes, navigation and networking. The post Flutter Crash Course for JavaScript Developers appeared first on RisingStack Engineering.
4 Aug 2020
Auth0's Vue guide is really helpful, but as TypeScript is becoming the industry standard, we need good docs to use it. Let's fill in that void. The post Auth0: Vue & TypeScript Quickstart SDK – The Missing Docs appeared first on RisingStack Engineering.
5 May 2020
Async Iterators can be used when we don't know the values & end state we iterate over. Instead, we get promises eventually resolving to the usual object. The post About Async Iterators in Node.js appeared first on RisingStack Engineering.
26 Apr 2020
The middleware framework Middy reached version 1.0, bringing middleware capabilities to AWS Lambda. This allows cleaner handler code by extracting cross-cutting concerns into reusable middleware.
10 Feb 2020
This post covers what tools and techniques you have at your disposal when handling Node.js asynchronous operations. Learn how to avoid the callback hell ! The post Node.js Async Best Practices & Avoiding the Callback Hell appeared first on RisingStack Engineering.
9 Jan 2020
We prepared a new, 5-days-long training agenda for engineering teams who'd like to dive deep into Node.js, but have little to none experience with it. The post Production Ready with Node.js Training appeared first on RisingStack Engineering.
2 Oct 2019
Node 8 won’t get any more updates from 2020. In this article, we’ll discuss how and why you should move to newer, feature-packed, still supported versions. The post Update Now! Node.js 8 is Not Supported from 2020. appeared first on RisingStack Engineering.
8 Sept 2019
Learn how to configure NPM packages to publish only the files needed by users, avoiding bloating node_modules folders.
26 Jun 2019
This is a tutorial for Node.js devs about getting started with Go - while writing a server with net/http, encoding/json, envconfig & dependency management. The post Golang Tutorial for Node.js Developers, Part I.: Getting started appeared first on RisingStack Engineering.
4 Jun 2019
A look back at what exactly happened to Node.js so far, from the point where it was born. The history of Node.js on a timeline: 2009-2019 The post History of Node.js on a Timeline appeared first on RisingStack Engineering.
29 Apr 2019
This is a deep-dive article on the changes from Node.js v12 we consider essential to highlight! The post Node.js v12 – New Features You Shouldn’t Miss appeared first on RisingStack Engineering.
18 Feb 2019
This article shows how to quickly build web app prototypes using Fastify for the backend API and Preact for the frontend UI. It also covers how to dockerize the app for easy sharing. Key points are the plugin architecture of Fastify, the lightweight nature of Preact, and the use of htm for defining UI without transpilation.
21 Jan 2019
This article explores different ways to create iterators and iterable values in Javascript for dynamic sequence generation, specifically using functions, iterators, iterables and generators. It provides code examples for implementing the Fibonacci sequence with each approach.
13 Nov 2018
Learn how we fixed a nasty bottleneck in a large Node.js Microservices infrastructure, and how we scaled it so it could serve 1000s of requests per second. The post Serving Millions of Users in Real-Time with Node.js & Microservices [Case Study] appeared first on RisingStack Engineering.
11 Nov 2018
This article explores how to simulate multiple return values in JavaScript using arrays and objects. It covers use cases like React Hooks and async/await error handling. The pattern enables elegant APIs but has performance implications.
18 Jun 2018
Organisations who are paying attention already know they need to have an open web API, and many already have under development or in the wild. Make sure you haven’t been caught by the pitfalls of many early API releases. Multiple points of failure: The 5 tips Test it all Plan for future versions Embrace standards […]
17 Apr 2018
Yarn vs npm : Let's take a look at the state of Node.js package managers in 2018. What's the difference? Should you use yarn or npm? What's the alternative? The post Yarn vs npm – which Node package manager to use in 2018? appeared first on RisingStack Engineering.
24 Mar 2018
One pattern I’ve used quite a lot while working with React at the BBC and Discovery Channel is the Data Container pattern. It became popular in the last couple of years thanks to libraries like Redux and Komposer. The idea is simple. When you build UI components in React you feed data into them via […]
27 Feb 2018
Use your own, free API service as a data source for your front-end projects! Here's how to set it up using Docker, locally. The post Meet my Free, Local API Server for your Front-End Adventures (written in Node.js)! appeared first on RisingStack Engineering.
7 Feb 2018
The post How N26 builds its modern banking software with JavaScript & Microservices. appeared first on RisingStack Engineering.
539 devs who use Node.js in production told us why they love using it, what are they using it for, and what are the greatest problems they face with it. The post Why Developers Love Node.js & what’s their main issue with it? Survey Results. appeared first on RisingStack Engineering.
9 Jan 2018
In this article we collected a few tips that we think Node.js developers should follow in 2018! What's your new years resolution? The post 8 Tips to Build Better Node.js Apps in 2018 appeared first on RisingStack Engineering.
20 Sept 2017
Let's take a look at the Node.js Process module. Learn about process states & graceful shutdown to write production-ready applications with more confidence. The post Mastering the Node.js Core Modules – The Process Module appeared first on RisingStack Engineering.
11 Apr 2017
The author gave a talk on building universal JavaScript web apps at Codemotion Rome 2017. He updated his Judo Heroes demo to v2 with React 15.4, React Router 4, Webpack 2, and Express 5. The talk got positive feedback from the audience. Slides and video are linked.
31 Mar 2017
This article explains how short URLs work and provides code examples to expand them in Node.js using request module or tall library. It covers basics of URL redirection, shows how to disable auto-redirect in request module, and introduces tall - a promise-based Node.js library to unshorten URLs.
14 Feb 2017
This post summarizes a talk about building a serverless architecture on AWS Lambda using the Serverless framework. It covers topics like authentication, authorization, testing, CI/CD, and cost monitoring. The presenters share lessons learned from real-world experience building a production serverless application.
26 Nov 2016
This blog post summarizes a talk about building a Universal JavaScript application with React given at Codemotion Milan 2016. It includes commentary for each slide, photos from Twitter, and a video recording. The post explains what Universal JavaScript is, its benefits, challenges, and walks through demo code to add server-side rendering and routing to a React app.
8 Nov 2016
Yesterday I had the good fortune to attend Empire Node at The National Museum of the American Indian, courtesy of InRhythm. A good time was had by all and we got to see some great talks! There was programmable music, smart ways to get into code style linting and, of
5 Nov 2016
Environment variables are declared with the ENV statement and are notated in the Dockerfile either with $VARIABLE_NAME or ${VARIABLE_NAME}. Passing variables at build-time The ENV instruction sets the environment variable to the value. The environment variables set using ENV will persist when a container is run from the resulting image. For example: The Dockerfile allows you to specify arguments […]
24 Oct 2016
How to crack a JWT token: two articles about distributed computing, ZeroMQ & Node.js
Luciano MamminoThis blog post explains how to build a distributed application using Node.js and ZeroMQ that cracks JWT tokens. It provides a step-by-step guide on implementing the application and links to two in-depth articles on RisingStack that cover the theory and coding details.
25 Sept 2016
Luciano Mammino recently participated in two interviews discussing his work with Node.js and JavaScript as well as his experience as an author writing books about Node.js design patterns.
29 Aug 2016
This article explains how to build a simple Universal JavaScript application using React, React Router and Express. It shows how to implement server side rendering with React and Node.js to create an isomorphic app.
1 Aug 2016
Monitoring systems allow you to monitor changes to your front-end code base over time, catching any regression issues and monitoring the ongoing effects of any performance optimisation changes. Easy to use dashboards are a must when it comes to monitoring the state of your web apps. Companies like Calibre or SpeedCurve offer this as a […]
31 Jul 2016
The author announces the release of "Node.js design patterns - second edition", a new book covering design patterns for Node.js and JavaScript. It includes updated code for Node v6 and ES2015 across 11 chapters and 100+ examples.
18 Jul 2016
The package mock-require is useful if you want to mock require statements in Node.js. It has a simple API that allows you to mock anything, from a single exported function to a standard library. Here’s an example: app/config.js app/services/content.js test/services/content_spec.js
14 Feb 2016
We explore two approaches to support both callbacks and promises in async JavaScript modules: 1) promisify callback functions, 2) make callback optional and return promise. The second allows flexible use of callbacks or promises.
18 Jan 2016
Gulp-cozy is an experimental NPM package that allows you to separate Gulp tasks into small modules inside a dedicated folder, making them easier to maintain. It brings Node.js modularity principles into your Gulp workflow.
29 Sept 2015
Introducing mongo-uri-builder, a Node.js module to easily create mongodb connection strings using objects
Luciano MamminoThe mongo-uri-builder Node.js package easily generates MongoDB connection strings from configuration objects, supporting features like authentication, replicas, and options. It integrates well with config for managing different environments.
14 Sept 2015
A tutorial was published on how to build a simple Slack bot in Node.js that tells Chuck Norris jokes, for some amusing fun. The bot is open source and available on GitHub and NPM.
8 Sept 2015
This blog post provides a beginner's guide to managing versioning and deployment of static websites using Git for version control, Flightplan.js for automated deployment, and Nginx for serving. It outlines a simple yet complete workflow for implementing continuous delivery and rollbacks.
11 May 2015
The flickr-set-get command line app makes it easy to download entire Flickr galleries. It uses the Flickr API and Node.js asynchronous programming to download photos in parallel. The post explains the motivation behind the project, the technologies used, and how the asynchronous code works.
13 May 2009
This manual gathers together the key insights into API design that were discovered through many years of software development on the Qt application development framework at Trolltech (now part of Nokia). When designing and implementing a library, you should also keep other factors in mind, such as efficiency and ease of implementation, in addition to […]