Category: node js

Node gets the URLPattern API

March 25, 2025 By Mark Otto 0

New URLPattern API Brings Improved Pattern Matching to Node — The Cloudflare Workers team has implemented the URLPattern API in the Ada URL parser, used by both Node.js and Cloudflare Workers. The API lets you take patterns like /blog/:year/:month/:slug and test whether URLs match against…

The Rsdoctor will see you now

March 21, 2025 By Mark Otto Off

Rsdoctor 1.0: An Analyzer for Rspack and Webpack — A one-stop, intelligent build analyzer making it easier to identify bottlenecks and optimize performance. It’s part of the same family of tools as Rspack (a Rust-powered web bundler) but is fully webpack compatible. If you’ve ever…

Node 20 gains require(esm) support by default

March 18, 2025 By Mark Otto 0

Node v23.10.0 (Current) Released — Node gains a new –experimental-config-file option for writing a JSON-based config file that contains options that would otherwise litter your command line flags – ideal for configuring the test runner, say. Antoine du Hamel Node v20.19.0 (LTS) Released with require(esm)…

Can you understand this JavaScript?

March 14, 2025 By Mark Otto Off

A Perplexing JavaScript Parsing Puzzle — It looks deceptively simple – just 14 characters of JavaScript – but after working with JavaScript for 29 years, I got it wrong. A clue: it goes back to a browser-related quirk from 30 years ago.. Hillel Wayne TypeScript’s Compiler…

Another way to look inside your npm packages

March 11, 2025 By Mark Otto 0

🔎 Node Modules Inspector — A tool that runs pnpm inside your browser, “installs” a package, then analyzes its dependencies. This can be useful for analyzing packages you already use, but also for simplifying your own projects, as 11ty’s Zach Leatherman did here. Anthony Fu Node Added…

The current state of JavaScript on the Web

March 7, 2025 By Mark Otto Off

A Report on How the Web is Really Using JavaScript — Each year, the HTTP Archive puts together the Web Almanac, a report on the ‘state of the Web’. The JavaScript section has just gone live and goes into depth on how much JS we’re…

TypeScript gets on board with Node’s type stripping

March 4, 2025 By Mark Otto 0

Turbocharging V8 with Mutable Heap Numbers — The V8 team uses the JetStream2 benchmark suite to investigate performance issues and has implemented a new optimization yielding not just a 2.5x improvement in the async-fs benchmark but in other areas too. A demonstration that not only does…

Doom for TypeScript types

February 28, 2025 By Mark Otto Off

✏️ Whenever we include more than a few links about TypeScript, we get complaints from people who don’t like it. We get that, we love you folks, and we’re aware. TypeScript isn’t our main focus but we do cover it, including critical pieces. That in…

Node 23.8 introduces the URL Pattern API

February 25, 2025 By Mark Otto 0

👋 Just in case you missed the message, we took last week off but we’re back now until Easter, so you didn’t miss anything. 🙂__Peter Cooper, your editor. Subverting Control with Weak References — Node supports WeakMap and WeakRef for working with weak references and James…

The latest from TC39’s recent meeting

February 21, 2025 By Mark Otto Off

TC39 Advances 3 Proposals to Stage 4 — I love seeing Rob Palmer’s tweets about TC39’s progression of JavaScript proposals and this is a good roundup from this week’s meeting in Seattle. Areas covered include near-term features like Float16Array and import defer to more distant…