Category: node js

Web Components forever?

October 26, 2023 By Mark Otto Off

🗣 Jake’s post fuelled an extensive Hacker News discussion touching on everything from MDX and htmx‘s role, to state management and the ‘shallow’ nature of the Web Components API as-is. Yarn 4.0 Released — Starting life as an npm alternative that resolved several of its…

Taking Node to the JVM

October 24, 2023 By Mark Otto 0

Yarn 4.0 Released — Yarn began life as an npm alternative that resolved several major pain points with npm at the time, particularly around performance. It remains a popular option and v4 introduces a new ‘hardened mode’ to protect you from certain security issues and…

Ways to serve up less JavaScript

October 19, 2023 By Mark Otto Off

Node.js 21 Released — In the next week or so, Node v21 replaces v20 as the ‘current’ release that gets the new features first, with Node v20 becoming the ‘active’ LTS version. v21 introduces V8 11.8, npm 10.2, stable Web Streams support, and an experimental…

Node.js 21 released

October 17, 2023 By Mark Otto 0

😅 We’ve mentioned some community efforts to create a mascot for Node recently, but the Node project itself has 🐦 unveiled a Node.js mascot design contest on Twitter/X. You have until November 6 to submit your ideas. Don’t Block the Event Loop (or the Worker Pool)…

Fluid simulation in JavaScript

October 12, 2023 By Mark Otto Off

✍️ Due to being on the road at an event, this is a more compact and bijou issue but I’m back at full pace next week 😅__Peter Cooper, your editor Speeding Up the JS Ecosystem: The Barrel File Debacle — Marvin continues his tour through…

Testing perfection for Node?

October 10, 2023 By Mark Otto 0

✍️ Due to being on the road attending the inaugural AI Engineer Summit, this week’s issue was meant to be far shorter than usual.. but I’m not sure it’s actually turned out that way 😅 In any case, we’re back to full service next week!__Your…

Comparing test assertion styles in JavaScript

October 5, 2023 By Mark Otto Off

An Interactive Intro to CRDTs — Conflict-free replicated data types (the so-called CRDTs) provide a popular approach to replicate data across numerous clients and allow live collaboration between them without conflicts. This post really digs into what makes CRDTs tick well, complete with interactive examples. Jake…

Node 20 gets faster, approaches LTS status

October 3, 2023 By Mark Otto 0

Honey, I Shrunk the npm Package! — Compression sits under the hood of everything on the modern Web, including npm packages (distributed as gzipped tarballs). Could the standard gzip approach be showing its age in both speed and effectiveness? Jamie runs a package through a…

Getting some closure

September 28, 2023 By Mark Otto Off

The Saga of Google’s Closure Compiler — Dan looks back at Google’s Closure Compiler, a JavaScript transpiler Google built in 2004 and used most heavily in the pre-TypeScript era to reduce the size of JavaScript files, check types, and otherwise handle common pitfalls. A neat…

Polyfills gone rogue

September 26, 2023 By Mark Otto 0

GitHub Actions Could Be So Much Better — GitHub Actions provides a fantastic and useful service, but the developer experience leaves a lot to be desired, particularly when debugging them. If you’ve been frustrated with figuring out Action and setting up your own workflows, you’ll…