nodeweekly

星期二 05 下午 七月 1o 2025

Running Gemma 3n from Node

Running Gemma 3n from Node

#​584 — July 1, 2025

Read on the Web

Together with 

Code Rabbit

Node.js Weekly

Modern Node.js Patterns for 2025 — We’ve reached the half way point for the year, so why not take a moment to reflect on the potential of Node as it stands right now? Ashwin reminds us of various aspects including the use of ES modules, built-in Web APIs, the test runner, watch mode, the permission model, import maps, and more.

Ashwin

Node v22.17.0 (LTS) Released — A notable LTS release as assert.partialDeepStrictEqual() gets promoted to stable along with numerous long-time experimental APIs/functions, and a few Node 24 features get backported.

Antoine du Hamel

💡 Node v24.3.0 (Current) has been released, with no significant new features.

CodeRabbit’s Free AI Code Reviews in IDE - VS Code, Cursor, Windsurf — Code Rabbit brings AI code reviews to VS Code, Cursor & Windsurf. Get line-by-line reviews, one-click fixes & codebase-aware feedback - all free in your IDE. Seamlessly integrates with git workflows. Install the extension & start reviewing!

CodeRabbit sponsor

Ecma International Approves ECMAScript 2025: What’s New? — The Ecma General Assembly has approved the ES2025 language specification, which you can read in full here, or you can enjoy Dr. Axel’s more succinct explainer instead.

Dr. Axel Rauschmayer

Secure Your Express APIs in 5 Minutes with CedarCedar is a language and spec for defining permissions and evaluating them. Its new authorization-for-expressjs enables Cedar-based authorization for Express.js apps.

Trevor Schiavone (AWS)

IN BRIEF:

V8: Speculative Optimizations for WebAssembly using Deopts and Inlining — A very technical post from the V8 team about two significant new optimizations in the V8 engine that make WebAssembly code run much faster.

Daniel Lehmann and Matthias Liedtke (V8)

📄 How to Use NestJS as a Signaling Server for WebRTC Video Chat Christian Nwamba

📄 How to Write Compelling Software Release Announcements Michael Lynch

📺 Using Claude Code to Build a GitHub Actions Workflow – Simon takes a Python-oriented approach but you could just as easily tell Claude to use JavaScript or even shell scripting here. Simon Willison

💬 Why Does My Node Multiplayer Game Lag at 500 Players with Low CPU? – A public discussion. Hacker News

🛠 Code & Tools

Transformers.js 3.6: Now You Can Run Gemma 3n from NodeTransformers.js brings the power of Hugging Face’s popular Python Transformers library into the world of JavaScript, enabling the use of various machine learning models for NLP, vision, audio processing, and more. The big feature in v3.6 is support for Google’s new Gemma 3n model.

Hugging Face

💡 In mildly related news, Meridius Labs has been building an unofficial library for working with the new Apple Foundation models on macOS Tahoe.

Real-Device Testing for iOS Safari, Now Playwright-Friendly — Curious how your web app behaves on iOS Safari? You can now run Playwright tests on real iOS devices via BrowserStack.

BrowserStack sponsor

Repomix 1.0: Pack Your Codebase Into AI-Friendly Formats — Enter a GitHub URL and choose various settings for the output (XML, MD, etc). It’s Node.js-based and available to use in a library-like form for your own tooling creations too. v1.0 is essentially a ‘this is stable and complete now’ release. GitHub repo.

Kazuki Yamada

Marked 16.0: A Fast Markdown Parser and CompilerDemo here to see it in action. GitHub repo.

Christopher Jeffrey

whatsapp-api-js: A Library for Whatsapp’s Official API — For those with a Meta Business App with WhatsApp API activated.

Tomás Raiti

📰 Classifieds

🐱 ConfigCat Feature Flag Service lets you run gradual rollouts, A/B tests & target users without code changes. Use coupon NODE25 & save 25%!


🎧 The Node (and more) Banter – a weekly, uncensored dive into Node and scale, where Luca Maraschi and Matteo Collina share war stories, anti-patterns, and laughs. Subscribe!

📢  Elsewhere in JavaScript

A roundup of some other interesting stories in the broader JavaScript landscape, in case you’ve missed them:

Got a link for us? Reply and tell us. We can’t include everything but we’ll look at anything you send. Thanks!


Sponsorship: Email [kristina@cooperpress.com](mailto:kristina@cooperpress.com) for details.


Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom

发布者