Maciej Cieślar A JavaScript developer and a blogger at


19 Stories by Maciej Cieślar

A complete guide to threads in Node.js

Node.js is single-threaded, meaning that it has one thread of execution to perform one task at a time, but it also provides features with...
5 9 min read

How to copy objects in JavaScript: A complete guide

This guide shares techniques and use cases for copying objects in Javascript and Typescript with: shallow copy, deep copy, assigning, merging, and structured cloning.
1 10 min read

What is Deno, and how is it different from Node.js?

Learn what Deno is and how it aims to fix the inherent issues in Node.js.
13 6 min read

Context-aware logging in Node.js

By themselves, log messages can only tell you so much. Learn how to add crucial context to your log messages in Node.js.
0 5 min read

Configuring Git hooks for the win

Properly configured Git hooks make developers' lives simpler by automating by necessary all the checks on commit.
0 6 min read

Unit testing NestJS applications with Jest

NestJS forces us to write more easily testable code through its built-in dependency injection, which makes unit testing with Jest a painless process.
6 12 min read

Serialization in NestJS: A different approach

Creating a reusable serialization solution with the NestJS ecosystem is a breeze.
4 6 min read

Scalable WebSockets with NestJS and Redis

Adding WebSockets to a stateless NestJS app is made significantly easier with Redis.
12 14 min read

Containerized development with NestJS and Docker

Using Docker with NestJS for containerized development, along with VS Code's internal debugger, can greatly improve developer efficiency.
34 10 min read

Generating video previews with Node.js and FFmpeg

FFmpeg is a great choice for video manipulation. Learn to generate video previews by using it alongside Node.js.
2 7 min read

JSONP demystified: What it is and why it exists

What is JSONP? What's the point? Should you ever use it?
0 5 min read

Having fun with ES6 proxies

Proxy is one of the most overlooked concepts introduced in ES6, but it's bound to come in handy at some point in your future.
0 6 min read