Article
A web application often needs to communicate with web servers to get various resources. You might need to fetch data from or post data to an external web server or API. Using client-side JavaScript, this can be achieved using the fetch API and the window.fetch() function. In NodeJS, several...
Aniuchi Adaobi
NoSQL brought flexibility to the tabular world of databases. MongoDB in particular became an excellent option to store unstructured JSON documents. Data starts as JSON in the UI and undergoes very few transformations to be stored, so we get benefits from increased performance and decreased processing time. But NoSQL does...
Leandro Cofre
Working with files is a common task with any programming language. File manipulation requires us to know their location. One of the most fundamental ways to interact with files is to list files in a directory. In this article, we'll be using Node.js and the built-in fs module as...
David Landup
A common development task is reading data from files. A common file format is the .csv format. While you can read CSV files using the fs module that comes with Node and get the content of the file, in most cases, parsing and further conversion is much easier with the...
JavaScript is a dynamically typed language, meaning that the interpreter determines the type of the variable at runtime. In practice, this allows us to use the same variable to store different types of data in the same code. It also means that without documentation and consistency, we do not always...
Marcus Sanatan
H2 is a lightweight database server written in Java. It can be embedded in Java applications, or run as a standalone server. In this tutorial, we'll review why H2 can be a good option for your projects. We'll also learn how to integrate H2 with Node.js by building a...
In this article, we are going to take a look at what CORS is, how you can configure CORS with Express, and how to customize the CORS middleware to your needs. What is CORS CORS is shorthand for Cross-Origin Resource Sharing. It is a mechanism to allow or restrict requested...
Janith Kasun
Async Hooks are a core module in Node.js that provides an API to track the lifetime of asynchronous resources in a Node application. An asynchronous resource can be thought of as an object that has an associated callback. Examples include, but are not limited to: Promises, Timeouts, TCPWrap, UDP...
Allan Mogusu
In this article, we are going to talk about JavaScript Template Literals. They were also called Template Strings prior to the ES2015 specification. Other than that, we are also going to cover what Tagged Template Literals are and how we can use them with regular Template Literals. What is a...
© 2013-2025 Stack Abuse. All rights reserved.