TypeScript gets on board with Node’s type stripping

March 4, 2025 By Mark Otto 0

Node.js Weekly

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 the Node team make Node faster, the V8 team does too.

Victor Gomes (V8)

Web Scraping with Playwright — I’d be surprised if you got away with scraping YouTube like this for long (let’s say Google aren’t big fans of the approach) but the techniques demonstrated are useful more generally too.

Marcin Wanago

🛠 Code & Tools

Malibu: Framework-Agnostic CSRF Middleware — ESM only, zero-dependency, and TypeScript types are included. It’s compatible with Express, Tinyhttp, and most modern frameworks based around the core HTTP package.

Reinaldy Rafli

wacat 1.4: Tests Your Webapp Against ‘Cat Chaos’ — Uses a virtual ‘cat walking across your keyboard’ approach to tormenting apps with random clicks and form submissions, now with a stronger focus on using AI to generate both valid and invalid inputs.

Mika Tapanainen

  • LogTape 0.9.0 – Logging library for JavaScript and TypeScript with zero dependencies and support for multiple environments.

  • node-oracledb 6.8Oracle Database driver for Node. Now with interval data type and sparse vector support.

  • sqs-consumer 11.6 – Build Amazon SQS-based applications without boilerplate by defining an async message processing function.

  • Typegoose 12.13 – Define Mongoose models with TypeScript classes.

  • Mongoose 8.12.0 – MongoDB object modeling approach.

  • NodeBB 4.1 – Node.js-powered forum software.

  • Nano ID 5.1 – Unique string ID generator.

  • pnpm v10.5.2

📢  Elsewhere in JavaScript

A quick roundup of some of other interesting stories in the broader JavaScript landscape, in case you’ve missed them:

  • The term ‘Ajax’ was coined twenty years ago in this article.

  • Windows 95 in Electron is, unsurprisingly, Windows 95 running in an Electron app! v4.0 adds Office 95 and IE 5.5 for some (limited) browsing of the Web.

  • 📊 BenchJS is an online JavaScript benchmarking sandbox worth playing with.

  • free-for.dev is a handy and huge (over 1000 items) list of hosted tools and online services with free developer tiers.