Maciej Cieślar A JavaScript developer and a blogger at mcieslar.com.

Stories by Maciej Cieślar

A Complete Guide To Threads In Node.js

A complete guide to threads in Node.js

Dev

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 multithreading.

Maciej Cieślar
Jan 27, 2023 ⋅ 9 min read
How To Copy Objects In JavaScript

How to copy objects in JavaScript: A complete guide

Dev

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

Maciej Cieślar
Mar 9, 2022 ⋅ 10 min read
Deno vs. Node: What Is Deno and How Is It Different From Node.js?

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

Dev

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

Maciej Cieślar
Jan 14, 2021 ⋅ 6 min read
Context-aware Logging in Node.js

Context-aware logging in Node.js

Dev

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

Maciej Cieślar
Nov 10, 2020 ⋅ 5 min read
Configuring git hooks for the win

Configuring Git hooks for the win

Dev

Properly configured Git hooks make developers’ lives simpler by automating by necessary all the checks on commit.

Maciej Cieślar
Sep 8, 2020 ⋅ 6 min read
Unit-testing NestJS Applications With Jest

Unit testing NestJS applications with Jest

Dev

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

Maciej Cieślar
May 19, 2020 ⋅ 12 min read
Serialization In NestJS: A Different Approach

Serialization in NestJS: A different approach

Dev

Creating a reusable serialization solution with the NestJS ecosystem is a breeze.

Maciej Cieślar
Feb 17, 2020 ⋅ 6 min read
Scalable WebSockets With NestJS And Redis

Scalable WebSockets with NestJS and Redis

Dev

Adding WebSockets to a stateless NestJS app is made significantly easier with Redis.

Maciej Cieślar
Feb 13, 2020 ⋅ 14 min read
Containerized Development With NestJS And Docker

Containerized development with NestJS and Docker

Dev

Using Docker with NestJS for containerized development, along with VS Code’s internal debugger, can greatly improve developer efficiency.

Maciej Cieślar
Jan 22, 2020 ⋅ 10 min read
Generating Video Previews With Node.js And FFmpeg

Generating video previews with Node.js and FFmpeg

Dev

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

Maciej Cieślar
Dec 9, 2019 ⋅ 7 min read
JSONP Demystified

JSONP demystified: What it is and why it exists

Dev

What is JSONP? What’s the point? Should you ever use it?

Maciej Cieślar
Nov 21, 2019 ⋅ 5 min read
Having Fun With ES6 Proxies

Having fun with ES6 proxies

Dev

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.

Maciej Cieślar
Nov 13, 2019 ⋅ 6 min read