jasnell.me

A blog about code and whatever else I might be thinking about.

Implementing the Web Streams API in Node.js

The Node.js project has been working on implementations of standard web platform APIs, such as the WHATWG URL parser, AbortController, EventTarget, TextEncoder, Web Crypto API and more. The latest effort underway is to implement support for the Web Streams API...

Using AbortSignal in Node.js

The AbortController and AbortSignal APIs are quickly becoming the standard mechanism for canceling asynchronous operations in the Node.js core API...

Broken Promises - The Node.js Event Loop

Several years ago, I was called out by a customer to help them resolve some performance issues they were having in their Node.js application. They were experiencing massive event loop blocking issues in their server, getting a whole 5 requests per second — and, in one extreme case, an event loop delay of over one minute...

Getting to know HKDF

Although the HMAC-based Key Derivation Function (HKDF) is not new it is starting to gain prominence in more types of applications and systems.

Implementing the Web Crypto API for Node.js Core

The Node.js project has been working on implementations of standard web platform APIs, such as the WHATWG URL parser, AbortController, EventTarget, TextEncoder and more. The latest effort underway is to implement support for the Web Cryptography API. Here, we dig into some of the details of that new implementation and show a little of what it will enable in Node.js...