alxolr

posts about software engineering craft

Blog posts, page 3

Articles 18 / 30

How to process javascript array of objects with rust neon bindings

How to process javascript array of objects with rust neon bindings

In this tutorial, I am creating a native node.js module, which will process a javascript array of objects and log the keys and the values of each element.

How to fork a nodejs stream into many streams

How to fork a nodejs stream into many streams

In the following tutorial, we will process a relatively big CSV file using nodejs streams API and the fast-csv module. The goal is to create a CSV file containing the data for each country separately.

Broadcast same shell command in multiple terminals

Broadcast same shell command in multiple terminals

In this tutorial, we will create a simple node.js global package that will broadcast one command in a list of other specified terminals.

Understanding memory leaks in node.js part 2

Understanding memory leaks in node.js part 2

In the second part, we will focus on event emitters and cached objects. Also, we will do some analysis using node clinic tool and chrome dev-tools to identify a nasty memory leak.

Understanding memory leaks in node.js part 1

Understanding memory leaks in node.js part 1

In this article we will learn about memory leaks in node.js, we will focus mainly on streams and promises

How to separate mocha tests in multiple files

How to separate mocha tests in multiple files

Sometimes our unit tests grow extremely large, so it is indispensable to separate them in multiple files to be able to maintain them properly learn how to do this in the next tutorial.

Articles 18 / 30