Category: node js

Svelte 5 is almost here

May 2, 2024 By Mark Otto Off

💡 If you want to upgrade ASAP, there’s a thorough upgrade guide available, but consider upgrading via React 18.3 first. IN BRIEF: RELEASES: 📒 Articles & Tutorials ‘I Reviewed 1,000s of Opinions on HTMX’ — htmx is an increasingly popular way to use modern, dynamic browser features through…

Node.js 22 has entered the building

April 30, 2024 By Mark Otto 0

Node.js 22.0 (Current) Released — The latest major version of Node is here. Note that it’s a ‘Current’ release for now, so gets all the newest features first, but is due to become Node’s main active LTS release this October. As an even numbered release,…

JSR isn’t another tool, it’s a fundamental shift

April 25, 2024 By Mark Otto Off

JSR is Not Another Package Manager — When Ryan created Node, JavaScript had no packages or standard module system. npm and CommonJS took off, and tools like Yarn or pnpm extended npm in certain areas, but in today’s ES modules era, it’s time for a…

node –run send_newsletter

April 23, 2024 By Mark Otto 0

â–¶  A Node.js Streams Masterclass — What a treat! Join the creator of Fastify, as well as Node.js TSC member, on an hour long odyssey into the world of streams, a topic in which he specializes. He starts off quite poetically .. a stream is like…

Visualizing algorithms

April 18, 2024 By Mark Otto Off

Airbnb’s Extensive JavaScript Style Guide — It’s been years since we mentioned this popular, opinionated style guide, but it keeps getting little tweaks and repairs and remains a handy resource nonetheless. Airbnb WorkOS: Enterprise-Grade Auth for Modern SaaS Apps — WorkOS supports both the foundational auth…

What Node’s contributors have been discussing

April 16, 2024 By Mark Otto 0

A Trip Report from the Latest Node.js Collaboration Summit — Twice a year, Node’s collaborators and community members meet at collaboration summits to share knowledge, discuss problems, and flesh out new ideas. The last one took place in London earlier this month and featured discussion…

An easy way to experiment with signals

April 11, 2024 By Mark Otto Off

Frontend Development Beyond React: Svelte — A surprisingly thorough article going deep into one developer’s research into using Svelte to build modern front-end apps. If you’ve never experimented with Svelte, this is a good primer to the key concepts, tradeoffs, and techniques involved. Héla Ben Khalfallah…

zx 8.0 for better Node scripting

April 9, 2024 By Mark Otto 0

zx v8.0: Google’s Way to Write Shell Scripts with Node — A long-standing way to make scripting a more pleasant experience. zx provides useful wrappers around child_process, escapes arguments and gives sensible defaults. v8.0 somehow makes zx 20x smaller, faster, makes it easier to kill…

A signal boost for JavaScript

April 4, 2024 By Mark Otto Off

A Proposal to Add Signals to JavaScript — A (very) early stage proposal for bringing a new feature to ECMAScript/JavaScript: signals! The proposal brings aboard ideas from a swathe of popular frameworks and aims to align everyone and get us on the same page when…

Promises visualized

March 28, 2024 By Mark Otto Off

JavaScript Visualized: Promise Execution — A helpful diagrammed and animated article, coupled with an (optional) 8-minute video, that goes into how promises work and are scheduled behind the scenes. It’s useful to have a good mental model of these mechanics, given promises form the basis…