Skip to main content
Dublin Library

The Publishing Project

Testing javascript with Node and Chai

When the Node team marked their test runner stable in Node 20.0, it reignited my interest in testing code in general and, potentially, in test-driven development This post will cover my experiments...

Be Mindful of Jargon

One of the hardest things for me to do when writing is to avoid jargon or assume that everyone will understand what I mean. In Dealing with Technical or Professional Jargon, the author presents an...

Adding Audio Feedback Cues To Web Forms

In Speech Synthesis API: computer talks I looked at how to use the Text To Speech portion of the Web Speech API to enhance error messages in web forms. Since I wrote that the speech portion of the API...

Running a specific version of Node

One of the biggest pains of working with Node is when either a library you're working with is pinned to a specific version of Node or you must pin your project to a specific version because one or...

Import Maps Everywhere

Javascript import maps provide a mapping between local names and external modules. Using Import Maps is a two-step process. First, you create a script with a type="importmap" attribute to...

Node's Permission Model

With the release of Node 20, the team introduces an experimental permissions API. There are two types of permission available with this version of the API: Module-based permissions control which...

Understanding Streams

The Streams API adds a set of tools to the web platform, allowing JavaScript to programmatically access streams of data received over the network and process them as desired by the developer. Basic...

Read and Write Files in Node

Reading, writing, and appending to files in Node is not trivial and has at least three different ways to perform each task: callback, sync callback, and promises. We will look at each of these methods...

Revisiting the TC39 Temporal Proposal

The Javascript Temporal proposal seeks a native fix for long-standing isues with Javascript's Date object as outlined in Fixing JavaScript Date: No support for time zones other than the user’s local...

Archive Navigation