Category: node js

Single executable apps come to Node core

February 23, 2023 By Mark Otto 0

▶  The State of Node.js Core with Colin Ihrig — Colin sits on the Node.js Technical Steering Committee (TSC) and gives us a 30-minute presentation reviewing what’s going on and some potential upcoming features (including a permissions system, better TypeScript integration, proxy support for fetch and…

JavaScript sans build systems?

February 17, 2023 By Mark Otto Off

Writing JavaScript Without a Build System — Using a variety of build tools for things like bundling and transpiling is reasonably standard in modern JavaScript development, but what if you want to keep things simple? For simple things, it’s not necessary, says Julia. This led…

Automatic integration tests for Express apps

February 16, 2023 By Mark Otto 0

How To Scale Node Apps with Clustering — Node’s cluster module can be used to run and manage multiple Node instances as a way to distribute workloads. Stanley gives a thorough and practical walkthrough of how to do it and why and when it yields a benefit.…

Bringing JavaScript to WebAssembly

February 10, 2023 By Mark Otto Off

It looked quiet at first but wow, what an epic week this turned out to be. There’s a lot to chew on here, and we even have a variety of bonus items at the very end of the issue. Enjoy!__Your editor, Peter Cooper Monitoring Your NestJS…

Node gets a new URL parser

February 9, 2023 By Mark Otto 0

Ada 1.0: Node’s Forthcoming New URL Parser — Node.js is moving to a new, faster URL parser called Ada (ironically written in C++ and not Ada). It passes the full WHATWG and Node test suites, though we’d be surprised if there aren’t a few teething…

Ways to remove event listeners

February 3, 2023 By Mark Otto Off

You’ve Got Options for Removing Event Listeners — Unnecessary event listeners can cause all sorts of odd problems so it’s good to clean them up when you don’t need them anymore. How? There are several approaches and Alex looks at their pros and cons. (once is…

SQL in your JavaScript

February 2, 2023 By Mark Otto 0

AlaSQL.js 3.0: Isomorphic JavaScript SQL Database — A SQL database you can use in Node.js and the browser. The interesting bit, for me, is how it opens up the idea of using SQL to query JavaScript objects – as in this example. “The library adds…

Astro 2.0 and TypeScript 5.0 beta

January 27, 2023 By Mark Otto Off

Astro 2.0: The Next-Gen ‘Islands’-Oriented Web Framework — 2.0 includes hybrid rendering (mixing of SSR and SSG outputs), type safety for Markdown & MDX, and an upgrade to Vite 4.0. Astro is worth exploring when performance is key as it works with popular frameworks but…

Automating the desktop with Node

January 26, 2023 By Mark Otto 0

Building Reliable Distributed Systems in Node — This post introduces the concept of durable execution which is used by a variety of companies and services to run reliable distributed systems. Temporal is a platform that coordinates workflows and durable jobs built around them. Loren Sands-Ramshaw IN…

Why document.write() is bad

January 20, 2023 By Mark Otto Off

Why Not document.write()? — Many moons ago, document.write was a mainstay of client-side JavaScript code, but it’s long been considered a bad practice – why? Harry digs in, noting that it “guarantees both a blocking fetch and a blocking execution, which holds up the parser…