Currently writing about: AWS, React.js, Node.js, TypeScript, friction logs.

All results for tag: nodejs

Error Tracing with ES6 Classes and Sentry

Extend the Error prototype with ES6 classes to capture errors and send them to Sentry

8 min read


Generating Types From JSON Schema With QuickType

Generate strongly-typed models and serializers from JSON, JSON Schema

7 min read


Align TypeScript Standards With JSON Schema

Using TypeScript to standardise types across the board using JSON Schema

4 min read


Prevent Breaking API Changes With OpenAPI And openapi-diff

Prevent Breaking API Changes With OpenAPI And openapi-diff

4 min read


Validate Your APIs With OpenAPI Schema Validator

Validate Your APIs With OpenAPI Schema Validator, YML and JSON

4 min read


Intro To Debugging Node.js Applications With VSCode

See how you can get started with the VSCode debugger for Node.js applications

10 min read


A First Look At Generative Art With p5.js

Slowly introducing yourself to the world of generative art with this short introduction

7 min read


Debugging JavaScript Performance With NDB

Use the Node debugger to visualise performance

5 min read


Authenticating Use For The Swyftx API With Node.js

As we begin a new short series on Swyftx, we begin by getting up and running with your API keys and retrieving your profile with a simple Node.js project.

8 min read


Scraping The Swyftx Apiary Docs Into A JSON File With Puppeteer

Using Puppeteer, we scrape the Swyftx API docs from Apiary and convert it into a JSON data structure to use later.

15 min read


Converting The Interim Swyftx Data Structure Into A Valid OpenAPI Format

Following on from the previous post, we will take the interim data structure we scraped from the Apiary documentation website and reshape it into a valid OpenAPI JSON structure.

15 min read


Locking Redis Transactions In Node.js

Avoid dirty reads on highly contended cache resources in Node.js with the Redlock package.

11 min read


Building Typescript NPM Packages With Parcel 2

See how easy it is to build a TypeScript NPM package using Parcel 2.

8 min read


Jest Snapshot Testing For Template Languages

Discover a great use case for Jest Snapshot testing with template engines and generators.

8 min read


Explaining CJS vs AMD vs UMD vs ESM

One of the JavaScript ecosystems biggest pain points. What are they and why do library maintainers hurt inside when they have to support them all?

9 min read


Mastering API Testing with Supertest, Express.js, and Jest

A walkthrough on setting up a basic Express.js application and writing tests using Supertest for robust APIs.

5 min read


Node.js --prof and --process-prof flags

Understand the Node.js profile flag by improving an inefficient approach to getting unique elements from an array.

11 min read


Mounting Your Own Cloud Storage With Cloud Mounter and AWS

After another failed hard drive meant losing data, I decided to look into mounting my own cloud storage. Here is how I did it.

7 min read


Using Prisma For Migrations And DrizzleORM For Querying

This post is for you if you are migrating across from a Prisma application or just want to check out the performance difference with DrizzleORM.

6 min read


Node.js Buffers Explained

Learn what a Buffer is in Node.js, how to think about it and how it is useful.

12 min read


Understanding Node.js Streams

Everything you need to prepare yourself to know Node.js Streams.

23 min read


Readable Streams in Node.js

What are readable streams in Node.js? How do they work? What are some common use cases for readable streams? Let's explore these questions in this post.

11 min read


Writable Streams in Node.js

What are Writable streams in Node.js? How do they work? What are some common use cases for Writable streams? We continue our exploration into streams in this post.

11 min read


Duplex Streams in Node.js

What are Duplex streams in Node.js? How do they work? We cover the third fundamental stream type in this post.

11 min read


Transform Streams in Node.js

What are Transform streams in Node.js? How do they work? We cover the fourth and final fundamental stream type in this post.

6 min read


Stream Pipelines in Node.js

We looking into the pipeline function from the Node.js stream module.

11 min read


Creating a Result Type in TypeScript

In this blog post, we take a look at libraries such as EffectTS, Zod, Valibot and Joi to understand how they approach a Result-like type and how we could approach building our own.

26 min read


Node.js Streams in Action with the AWS CDK

We tie together everything that we've learned so far about Node.js streams and apply it through a practical example using the AWS CDK, AWS S3 and AWS Transfer Family.

19 min read


Resource Management in TypeScript

We look into implementing the Acquire and Release Pattern in TypeScript for creating a sequence of operations with compensating actions on failure.

12 min read


Dennis O'Keeffe

2020-present Dennis O'Keeffe.

All Rights Reserved.