Category: node js

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…

Node gets a redesign (and a documentary)

March 26, 2024 By Mark Otto 0

🐣 A quick note to say Node Weekly is taking next Tuesday off, in celebration of Easter. We’ll be back on Tuesday, April 9 🙂__Your editor, Peter Cooper ▶  Node.js: The Documentary (An Origin Story) — Late last year, Honeypot released a Ruby on Rails documentary…

Package managers, the new todo app?

March 21, 2024 By Mark Otto Off

Runtime Compatibility Across JavaScript Runtimes — Several developers have come together to build this convenient way to visualize the compatibility of different Web APIs and JavaScript features across the ever increasing number of different runtimes (e.g. Bun, Deno, Node, LLRT..) Tom Lienard et al. ✅…

Ryan Dahl on Deno and the future of JavaScript

March 19, 2024 By Mark Otto 0

Building a Node App with TypeScript — Learn how to set up TypeScript to bundle a Node app using pnpm, Node, TypeScript, and ES modules for a seamless development experience, all from someone who knows a thing or two about TypeScript! Matt Pocock ▶  Setting up an…

Build-time macros for everyone

March 14, 2024 By Mark Otto Off

𝕏 Devon goes into extra detail 🐦 in this Twitter/X thread. You can also revisit the release of Parcel 2.12.0 to learn more. How to Add an Onboarding Flow for your Application — Learn to enhance onboarding for your app with Clerk and Next.js: add custom…

Node 21.7 and TypeScript 5.4

March 12, 2024 By Mark Otto 0

Shiki 1.0: A Powerful Syntax Highlighter — A few months ago, we linked to Shikiji, a fork of Shiki that was created to push the project forward. Happily, the creators of both libraries decided to join forces and Shiki 1.0 was born. It’s a syntax…