Node Weekly
762 FOLLOWERS
Node Weekly is a free, once–weekly e-mail round-up of Node.js news and articles.
Node Weekly
2d ago
#535 — June 11, 2024
Read on the Web
Node is Leaking Memory? setTimeout Could Be The Reason — The folks at Sentry were running into problems with how Node handles timeouts created with setTimeout or, more specifically, problems caused by hanging on to the Timeout objects setTimeout returns..
Armin Ronacher
Using Node.js's Test Runner: The Official Guide — A useful new guide on the official Node site to the fundamentals of setting up and using Node’s new test runner functionality, along with snapshot tests (as supported by Node 22.3+).
Jacob Smith ..read more
Node Weekly
1w ago
#534 — June 4, 2024
Read on the Web
? Node Weekly took a break last week, but we forgot to notify you in advance - sorry! You didn't miss anything, and we're catching up with the past two weeks today :-)
__
Your editor, Peter Cooper
10 Modern Node.js Runtime Features to Start Using in 2024 — If it ever feels like the new feature spotlight shines too much on Bun or Deno, never fear - Node has been taking huge strides forward too. Liran helps us catch up with a lot of the newest Node features.
Liran Tal
Mastering Node.js Performance Hooks — No ..read more
Node Weekly
3w ago
#533 — May 21, 2024
Read on the Web
Node v22.2.0 (Current) Released — A less significant release, feature-wise, than 22.0 or 22.1, but lots of little bug fixes, tweaks around core dev experience, getting Node’s built-in ESLint rules ready for ESLint v9, and the --inspect-wait flag to make the debugger wait for a connection in order to debug code from the very start of execution.
Michaël Zasso
Everything You Need to Know About Git — Join ThePrimeagen for this extensive video course and ensure you never run into an unsolvable Git problem again. You'll le ..read more
Node Weekly
1M ago
#532 — May 14, 2024
Read on the Web
Execa 9.0: The Better child_process Gets Even Better — Less shell-oriented than zx, execa focuses on making executing external commands secure, cross-platform, and easy to debug. v9 lets you make commands iterable so you can process their output on the fly, map/filter both input and output, pipe multiple commands, and more. GitHub repo.
ehmickey, Sorhus, et al.
? They've also put together a page comparing bash, Execa, and zx so you can get a better feel for the differences and see more code examples.
Secur ..read more
Node Weekly
1M ago
#531 — May 7, 2024
Read on the Web
Five Node Version Managers Compared — In an ideal world, the latest version of Node would slot well into every project, but in reality we often need to switch versions, and a variety of tools are available to make it simple. NVM is perhaps the best known, but maybe N, FNM, Volta, or even pnpm could suit you better?
Pavel Romanov
Node v22.1.0 (Current) Released — Fewer than two weeks on from Node 22.0 comes Node 22.1 with an optional on-disk code caching feature that can speed up compilation by leaning on V8’s caching ..read more
Node Weekly
1M ago
#530 — April 30, 2024
Read on the Web
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, Node 22 should be around and maintained for a long time, most likely out to 2027 or so (see image above).
We'll dig into some of what's new with Node 22 in just a moment..
Stytch: Auth0 Alternative for AuthN, AuthZ, Fraud Prevention — Use Stytch for enterprise ..read more
Node Weekly
1M ago
#529 — April 23, 2024
Read on the Web
▶ 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 an array over time .. before quickly getting on to some live coding and demos. This is one in a series of events put on by Platformatic. (75 minutes.)
Matteo Collina
The Perf Gains of Adding a Task Runner to Node.js — Instead of running npm run test, how does n ..read more
Node Weekly
2M ago
#528 — April 16, 2024
Read on the Web
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 on Node’s HTTP stack, a new node --run feature, ES modules support, package management, and more. A good update!
Joyee Cheung
Profiling Node Performance with Chrome's Performance Panel — Learn how to profile Node.js performance with ..read more
Node Weekly
2M ago
#527 — April 9, 2024
Read on the Web
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 processes, pass input to commands, and more. A substantial release.
Google
Build a RAG Chatbot App with MongoDB and Node.js — Embark on the RAG to Riches Developer Quest — a month of innovation, learning, and exclusive rewards awaits ..read more
Node Weekly
3M ago
#525 — March 19, 2024
Read on the Web
Bringing require(esm) to Node — Joyee writes about landing experimental support for require()-ing synchronous ES modules in Node, a feature that has been a long time coming, due to both technical and cultural factors.
Joyee Cheung
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
Memetria: Secure, Scalable Redis ..read more