Compare Website Screenshots With Node.JS And Puppeteer

In this tutorial, we will build a simple application that takes multiple screenshots of a webpage and detect the differences. But first, why would you want to do that? You might want to test the webpage after you deploy new changes and compare the two versions. Or, perhaps you want…

Install a Specific Version of a Node.JS Package

Usually, you install the latest version of a package when you want to use it. But there are circumstances when you might need to install a specific package version. One example would be when the latest changes in a package are not compatible with your code. This article shows you…

Is Node.js Still Relevant and Worth Learning?

In this article, I want to talk about Node.js and, more specifically - if it's still relevant and worth learning. But before going further, let's refresh our minds on Node. In official terms, Node.js is a JavaScript runtime that runs on Chrome's…

Learn How To Use MySQL With Node.js And Docker

In this tutorial, you learn how to use a MySQL database in your Node.js project with Docker. You will build a simple application that allows you to collect email addresses from people. The technologies used in this tutorial are as follows: * Node.js * Docker * Express * MySQL Note: If you…

A Beginner's Guide To The File System Module In Node.js

The file system module, or simply fs, allows you to access and interact with the file system on your machine. Using the fs module, you can perform actions such as: * creating files and directories * modifying files and directories * deleting files and directories * reading the content of files and directories This…

Pass Command Line Arguments To Your Node.js App

In this article, you will see how to pass command-line arguments to your Node.js application. You will also learn how to access them. However, before proceeding further, let's start with some basic stuff. To run a Node.js application, you run the following command in your terminal:…