Category: node js

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…

It’s time to go ESM-only

February 14, 2025 By Mark Otto Off

Style Observer: A Library to Observe CSS Property Changes — Lea Verou is a developer who’s easy to admire because whenever she sets out to solve a problem, the results are always fully formed with no cut corners. So it goes with this ‘exhaustively tested’ JS…

Why it’s time to go ‘ESM only’

February 11, 2025 By Mark Otto 0

🏖️ We’re taking next week off, so the next issue will be on Tuesday, February 25. Feel free to hit reply and send in any submissions!__Peter Cooper, your editor. How to Publish ESM-Based npm Packages with TypeScript — Now that you can use the ES…

Oracle dabbles in some JavaScript comedy

February 7, 2025 By Mark Otto Off

There Are a Lot of Ways to Break Up Long Tasks in JavaScript — Due to how browsers and the event loop work, letting a single task hog the main thread is a quick way to freeze up your site’s UI. Alex explains the problem…

A TypeScript release targeted at Node developers

February 4, 2025 By Mark Otto 0

Introducing Mentoss: The fetch Mocker — A new approach to mocking global fetch() calls (in both browsers and server-side runtimes) inspired by previous attempts like Nock and MSW. Nicholas C. Zakas The Modern Way to Write JavaScript Servers? — The irony is that while Node popularized…