Category: Node.js

JavaScript Node.js

Node.js TypeScript #3. Explaining the Buffer

This entry is part 3 of 14 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 14 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 […]