This blog post explains how to install Node.js on Ubuntu 26.04. Node.js is a free and open-source JavaScript runtime environment ... Read More The post How to Install Node.js on Ubuntu 26.04 appeared first on RoseHosting.
#node-js
74 posts
25 May
19 Mar
Heroku CLI v11 is now available. This release represents the most significant architectural overhaul in years, completing our migration to ECMAScript Modules (ESM) and oclif v4. This modernization brings faster performance, a new semantic color system, and aligns the CLI with modern JavaScript standards. While v11 introduces breaking changes to legacy namespaces, the benefits are […] The post Modernizing the…
18 Dec 2025
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.
17 Dec 2024
The Heroku CLI is a vital tool for developers, providing a simple, extensible way to interact with the powerful features Heroku offers. We understand the importance of keeping the CLI updated to enhance user experience and ensure stability. With the release of Heroku CLI v10, we’re excited to introduce key changes that enhance the user […] The post Heroku CLI…
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:…
30 Sept 2024
As maintainers of the open source framework Electron, we try to be diligent about the work we take on. Apps like Visual Studio Code, Slack, Notion, or 1Password are built on top of Electron and make use of our unique mix of native code and web technologies to make their users happy. That requires focus: […] The post Electron on…
19 Jul 2024
What is pnpm? Pnpm is a fast, disk-efficient Node package manager used as an alternative to npm. The Heroku Node.js buildpack now supports pnpm. Early Node.js application owners who’ve taken advantage of pnpm support have seen 10-40% faster install times compared to NPM on Heroku deployments. It’s an excellent choice for managing packages in the […] The post How to…
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…
29 Apr 2024
If you’re an API developer working with Node.js, then you’re probably familiar with Express. But have you tried out the Fastify framework to build with power, speed, and convenience? In this walkthrough, we build a full-featured, easy-to-consume API with Fastify. And we deploy it to the cloud with ease. We show you how to: Get […] The post Build Well-Documented…
28 Mar 2024
How to connect your GPT on OpenAI to a backend Node.js app Late in 2023, OpenAI introduced GPTs, a way for developers to build customized versions of ChatGPT that can bundle in specialized knowledge, follow preset instructions, or perform actions like reaching out to external APIs. As more and more businesses and individuals use ChatGPT, […] The post Building a…
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.
23 Dec 2020
In true JavaScript fashion, there was no shortage of releases in the JavaScript ecosystem this year. This includes the Yarn project’s release of Yarn 2 with a compressed cache of JavaScript dependencies, including a Yarn binary to reference, that can be used for a zero-install deployment. Yarn is a package manager that also provides developers […] The post Building a…
4 Dec 2020
JavaScript turns 25 years old today. While it’s made an impact on my career as a developer, it has also impacted many developers like me and users around the world. To commemorate our favorite language, we’ve collected 25 landmark events that have shaped the path of what the JavaScript ecosystem looks like today. 1995 1) […] The post Celebrating 25…
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.
3 Aug 2020
There are always challenges when it comes to debugging applications. Node.js’ asynchronous workflows add an extra layer of complexity to this arduous process. Although there have been some updates made to the V8 engine in order to easily access asynchronous stack traces, most of the time, we just get errors on the main thread of […] The post Let’s Debug…
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.
18 Dec 2019
This blog post is adapted from a talk given by Julián Duque at NodeConf EU 2019 titled “Let it crash!.” Before coming to Heroku, I did some consulting work as a Node.js solutions architect. My job was to visit various companies and make sure that they were successful in designing production-ready Node applications. Unfortunately, I […] The post Let It…
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.
28 Feb 2019
The recent introduction of Platform Events and Change Data Capture (CDC) in Salesforce has launched us into a new age of integration capabilities. Today, it's possible to develop custom apps that respond to activity in Salesforce. Whether you're creating a memorable customer interaction or implementing an internal workflow for employees, consider an event-sourced design to […] The post Reactive Programming…
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.
12 Jun 2018
The CLI Team at Heroku strives to create a CLI user experience that is intuitive and productive. We had “build CLI autocomplete” in the icebox of our roadmap for many years. But if we were going to ship it, it had to complement the existing CLI experience. This is challenging because the Heroku CLI is […] The post Heroku CLI:…
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.
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.
15 Aug 2017
Over the past decade, millions of developers have interacted with the Heroku CLI. In those 10 years, the CLI has gone through many changes. We've changed languages several times; redesigned the plugin architecture; and improved test coverage and the test framework. What follows is the story of our team's journey to build and maintain the […] The post Evolution of…
14 Jun 2017
It’s been a little over a year since our last Happy Node Hackers post, and even in such a short time much has changed and some powerful new tools have been released. The Node.js ecosystem continues to mature and new best practices have emerged. Here are 8 habits for happy Node hackers updated for 2017. […] The post Habits of…
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.
2 Mar 2017
Choices are an important part of a healthy open source software community. That’s why we’re excited about Yarn, a new package manager that addresses many of the problems with Node’s default package manager, npm. While npm has done a fantastic job creating a large and vibrant JavaScript ecosystem, I want to share why Yarn is […] The post Yarn: Lock…
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.
15 Dec 2016
Today we are announcing the newest version of the Heroku CLI. We know how much time you spend in the CLI as developers and how much pride you take in being able to get things done quickly. Our new CLI has big improvements in performance as well as enhanced readability for humans and machines. Tuned […] The post Announcing the…
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.
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.
16 Aug 2016
So you want to build an app with React? “Getting started” is easy… and then what? React is a library for building user interfaces, which comprise only one part of an app. Deciding on all the other parts — styles, routers, npm modules, ES6 code, bundling and more — and then figuring out how to […] The post Deploying React…
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.
7 Jul 2016
Based in Budapest, Hungary, Andras Fincza (Head of Engineering) and Rafael Ördög (Technical Lead) work for Emarsys, a global marketing automation platform. Read our Emarsys customer story to learn more about their migration experience on Heroku. How did you introduce microservices at Emarsys? We take an evolutionary approach to our architecture. Our marketing automation platform […] The post How Emarsys…
6 Apr 2016
Last week, Terence Lee and I caught up with Tom Dale at EmberConf to talk about FastBoot, when you should avoid native apps, and why JavaScript on the server and the browser might start to converge. Check the end for the full recording! So let’s start with the drama, would you say Ember has declared […] The post Tom Dale…
9 Mar 2016
Whether they’re publishing notifications, responding to /slash commands or carrying a conversation, bots have become an integral part of the way we work with Slack. A bot can do any number of things for your team as part of your day-to-day work, you’re only limited by your imagination. For some first-hand experience, check out the […] The post How to…
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.
5 Feb 2016
Three months ago we announced that Parse would be opening their Cloud Code product so that their customers would be able to deploy their mobile backends to Heroku. This allowed Parse customers to use a full Node.js environment with Cloud Code. With Parse’s recent announcement, we’re taking that one step further, by allowing you to […] The post Deploy Parse…
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.
10 Nov 2015
At the tail end of 2015, JavaScript developers have a glut of tools at our disposal. The last time we looked into this, the modern JS landscape was just emerging. Today, it’s easy to get lost in our huge ecosystem, so successful teams follow guidelines to make the most of their time and keep their […] The post 10 Habits…
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.
29 Oct 2014
[Heroku Connect] [heroku_connect] is written primarily in Python using Django. It’s an add-on and a platform app, meaning it’s built on the Heroku platform. Part of our interface provides users with a realtime dashboard, so we decided to take advantage of socket.io and node.js for websocket communication. But like all Heroku apps, only one type […] The post Django and…
11 Mar 2014
This post is from 2014 – check out the update! For most of the nearly twenty years since its inception, JavaScript lacked many of the niceties that made other programming languages like Python and Ruby so attractive: command-line interfaces, a REPL, a package manager, and an organized open-source community. Thanks in part to Node.js and […] The post 10 Habits…