Category: Node.js

JavaScript Node.js

Node.js TypeScript #3. Explaining the Buffer

This entry is part 3 of 15 in the Node.js TypeScript

Today we dive into another essential concept connected to Node.js: buffers. To understand them, we also explain what binary data is and why do we need character encodings. All this information is crucial when diving into other parts of Node.js, such as streams. Node.js TypeScript #3: Buffers The buffer exists in Node.js to help us manipulate binary […]

JavaScript Node.js

Node.js TypeScript #2. The synchronous nature of the EventEmitter

This entry is part 2 of 15 in the Node.js TypeScript

In this article, we continue going through the main concepts connected to Node.js. This time we dive into the idea of the Node.js EventEmitter. We explain its synchronous nature and how it works, which helps with understanding other Node.js features because some of them use the EventEmitter under the hood. Node.js TypeScript: EventEmitter Using events is a […]

JavaScript Node.js

Node.js TypeScript #1. Modules, process arguments, basics of the File System

This entry is part 1 of 15 in the Node.js TypeScript

In this series, we go through the core concepts of Node.js. In general, in this series, we focus on the environment of Node.js and not the JavaScript itself, while having the advantages of static typing using TypeScript. It includes matters like the File System, Event Loop, and the Worker Threads. In this article, we create a […]