星期二 06 晚上 一月 14o 2025
2025 is going to be a bold year for Express.js
#562 — January 14, 2025
Together with
A New Chapter for Express.js — 2024 saw the still-extremely-popular Express project awaken from a slumber, of sorts, with work being made to update things to modern standards, a security audit, and the release of Express v5. Here, the team explains what’s been going on behind the scenes to get Express back on the tracks, as well as a “bold vision for 2025.”
Express Technical Committee
How to Create Your Own AI Agent — Join Scott Moss for this video course exploring how to build an AI agent from scratch — covering LLM options, transformers, token limits, AI memory, function calling, agent loops, prompting, and much more.
Frontend Masters sponsor
Node v23.6.0 (Current) Released — In last week’s issue, we said Node 23.6 was imminent, and it came out a few hours later ;-) Along with the usual dependency updates and bug fixes, the big news is type stripping is now enabled by default, enabling that node yourapp.ts
magic, described in more detail below..
Marco Ippolito
Node’s New Built-in Support for TypeScript Explained — Node.js v23.6.0 (Current) (above) makes Node’s new type-stripping features work by default. Dr. Axel digs into how it works and what the limitations are. A handy primer.
Dr. Axel Rauschmayer
IN BRIEF:
Ecma International has a new technical committee: TC55 - Web Interoperable Server Runtimes. It takes over from the former WinterCG group as a forum for working on ways for server-side JS runtimes (e.g. Node, Deno, Bun) to better interoperate and align their APIs.
Popular Node.js-powered static site generator Eleventy (11ty) takes a look back at what happened in 2024.
Node v22.13.0 (LTS) was released with the permission model becoming stable.
The Electron project is moving its ecosystem over to Node 22.
Horizontal, Vertical, Diagonal? What Even Is Scaling?! 👀 — Up, down, left, right… A+B, A+B?? No no.. scaling isn’t that complicated. Let’s unpack horizontal vs. vertical scaling.
Judoscale sponsor
📄 JavaScript Hashing Speed Comparison: MD5 vs. SHA-256 – You shouldn’t be using MD5 anyway, but you especially shouldn’t be using it with the misconception that it’s faster. Daniel Lemire
📄 Cleaning Up HTML Content with Readability.js – Automatically extract the most valuable part of an HTML document. Phil Nash
📄 AsyncLocalStorage: Simplify Context Management in Node Trevor I. Lasn
🛠 Code & Tools
Node Web Audio API 1.0: A Web Audio API Implementation for Node — More accurately, it’s a set of Node bindings for a Rust-powered non-browser implementation of the Web Audio API.
IRCAM – Centre Pompidou
pnpm 10.0: The Alternative, Efficient Package Manager — Long admired for its performance and efficiency improvements over npm, pnpm is now thinking hard about security too with v10 no longer running lifestyle scripts of dependencies by default, improved hashing, and a myriad of other tweaks.
Zoltan Kochan et al.
Citizen: A Node.js MVC Web Application Framework — Comes with all the usual helpful stuff out of the box: routing, serving, caching, session management, even hot module replacement. It’s currently a lightly updated (though complete) project, but it shows a lot of promise and the author is keen for bug reports and feature requests.
Jay Sylvester
PostalMime: Email Parser for Browser Environments — An email parsing library happy in most JS runtimes, including Node. Takes the raw source of emails and parses them into their constituent parts.
Postal Systems
Simple Redis Mutex: Simple Distributed Locking using Redis
Amr Saber
Puppeteer 24.0 – Popular high level API to control Chrome or Firefox.
AWS JWT Verify 5.0 – Verify JWTs signed by Amazon Cognito and any OIDC-compatible IDP. v5.0 adds support for ECDSA and EdDSA algorithms.
🤖 node-llama-cpp 3.4 – Run LLMs locally with bindings to llama.cpp
.
jsdom 26.0 – Pure JS implementation of web standards for Node.
node-pg-migrate 7.9 – Postgres migration management from Node.
Mineflayer 4.25 – Create Minecraft bots in JavaScript.
Octokit.js 4.1 – ‘Batteries-included’ GitHub SDK.
Strapi 5.7 – Popular Node.js headless CMS.
📰 Classifieds
Protect your SaaS app with advanced device fingerprinting from WorkOS Radar. Stop fake signups, free tier abuse, bot attacks and brute force attempts today.
🚀 Start the year with fewer flakes, faster merges, and less frustration. Don’t let flaky tests disrupt CI — ▶️ watch our recorded live session here.
📢 Elsewhere in JavaScript
A quick roundup of some of other interesting stories in the broader JavaScript landscape, in case you’ve missed them:
The 2024 JavaScript Rising Stars – Michael Rambeau’s annual analysis of which JavaScript projects fared best on GitHub over the past year.
Last week we learnt that Oracle isn’t giving up without a fight in Deno’s pursuit to get Oracle’s trademark on ‘JavaScript’ withdrawn.
TypeScript without Build Tools – It’s not just Node that can now work with TypeScript without a build process in the mix. Chris Coyier looks at how other projects handle it.
Electrobun – An interesting attempt at a new Electron-style solution for building desktop apps with JavaScript, but powered by Bun. It’s still early days, however.
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
#562 — 2025 年 1 月 14 日
连同
[](https:// nodeweekly.com/link/164217/0a4070b383)
Express.js 的新篇章 — 2024 年仍然非常流行的 [Express](https://nodeweekly.com/ link/164219/0a4070b383)项目从某种意义上从沉睡中醒来,正在努力将事物更新为现代标准, 安全审核,以及Express v5 的发布 团队在此解释让 Express 重回正轨的幕后工作,以及**“2025 年的大胆愿景”。**
快递技术委员会
[](https://nodeweekly.com/link/164217/0a4070b383 )
如何创建您自己的 AI 代理 — 与 Scott Moss 一起学习本视频课程,探索如何从头开始构建 AI 代理 — 涵盖 LLM 选项、变压器、令牌限制、AI 内存、函数调用、代理循环、提示等等。
前端大师赞助商
Node v23.6.0(当前)发布 — 在上周的期刊中,我们说 Node 23.6 即将发布,几个小时后就发布了稍后;-) 除了通常的依赖项更新和错误修复之外,最大的消息是类型剥离现在默认启用,从而启用“节点” yourapp.ts 的魔力,下面有更详细的描述。
马可·伊波利托
Node 对 TypeScript 的新内置支持说明 — [Node.js v23.6.0(当前)](https://nodeweekly. com/link/164222/0a4070b383)(上图)使 Node 的新类型剥离功能默认工作。阿克塞尔博士深入研究了它的工作原理和局限性。方便的底漆。
阿克塞尔·劳施梅尔博士
简而言之:
Ecma International 成立了一个新的技术委员会:TC55 - Web Interoperable Server Runtimes。 它接管了前 WinterCG 小组,作为研究服务器方法的论坛-side JS 运行时(例如 Node、Deno、Bun),以更好地互操作和调整其 API。
流行的 Node.js 支持的静态站点生成器 Eleventy (11ty) 回顾 2024 年发生的事情。
Node v22.13.0 (LTS) 已发布,权限模型 变得稳定。
Electron 项目正在将其生态系统转移到 Node 22。
【水平、垂直、对角线?缩放到底是什么?! 👀](https://nodeweekly.com/link/164229/0a4070b383 “judoscale.com”) — 上、下、左、右…A+B、A+B?不不..缩放并没有那么复杂。让我们来了解一下水平缩放和垂直缩放。
柔道赞助商
📄 JavaScript 哈希速度比较:MD5 与 SHA-256 – 无论如何你不应该使用 MD5,但你尤其不应该使用它错误地认为它更快。丹尼尔·勒米尔
📄 使用 Readability.js 清理 HTML 内容 – 自动提取 HTML 文档中最有价值的部分。菲尔·纳什
📄 AsyncLocalStorage:简化 Node 中的上下文管理 Trevor I. Lasn
🛠 代码和工具
Node Web Audio API 1.0:Node 的 Web Audio API 实现 — 更准确地说,它是一组 Rust 驱动的 Node 绑定Web Audio API 的非浏览器实现。
IRCAM – 蓬皮杜中心
pnpm 10.0:另类、高效的包管理器 — 因其相对于 npm 的性能和效率改进而长期受到赞赏,[pnpm](https:// /nodeweekly.com/link/164236/0a4070b383)现在也在努力考虑安全性,v10 不再运行生活方式脚本默认情况下的依赖项、改进的散列以及无数其他调整。
佐尔坦·科尚等人。
Citizen:Node.js MVC Web 应用程序框架 — 附带所有开箱即用的常用功能:路由、服务、缓存、会话管理,甚至热模块更换。它目前是一个轻微更新(虽然完整)的项目,但它显示出很大的希望,并且作者热衷于错误报告和功能请求。
杰·西尔维斯特
PostalMime:适用于浏览器环境的电子邮件解析器 — 一个适用于大多数 JS 运行时(包括 Node.js)的电子邮件解析库。获取电子邮件的原始来源并将其解析为各个组成部分。
邮政系统
简单Redis互斥:使用Redis的简单分布式锁定
阿姆鲁·萨伯
Puppeteer 24.0 – 用于控制 Chrome 或 Firefox 的流行高级 API。
AWS JWT 验证 5.0 – 验证由 Amazon Cognito 和任何与 OIDC 兼容的 IDP 签名的 JWT。 v5.0 添加了对 ECDSA 和 EdDSA 算法的支持。
🤖 node-llama-cpp 3.4 – 在本地运行 LLM,并绑定到“llama.cpp”。
jsdom 26.0 – Node.js 网络标准的纯 JS 实现。
node-pg-migrate 7.9 – 从 Node.js 进行 Postgres 迁移管理。
Mineflayer 4.25 – 使用 JavaScript 创建 Minecraft 机器人。
Octokit.js 4.1 –“包含电池”GitHub SDK。
Strapi 5.7 – 流行的 Node.js 无头 CMS。
📰 分类广告
使用 WorkOS Radar 的高级设备指纹识别保护您的 SaaS 应用程序。立即停止虚假注册、免费套餐滥用、机器人攻击和暴力尝试。
🚀 以更少的碎片、更快的合并和更少的挫败感开始新的一年。不要让不稳定的测试扰乱 CI — ▶️ 在这里观看我们录制的现场会议。
📢 JavaScript 中的其他地方
快速总结更广泛的 JavaScript 领域中的一些其他有趣的故事,以防您错过了它们:
2024 年 JavaScript 新星 – Michael Rambeau 对过去一年在 GitHub 上表现最好的 JavaScript 项目进行的年度分析。
上周我们了解到,Oracle 不会不战而屈人之兵,因为 Deno 正在寻求撤销 Oracle 的“JavaScript”商标。
没有构建工具的 TypeScript – 现在不仅仅是 Node 可以在没有构建过程的情况下使用 TypeScript。 Chris Coyier 研究了其他项目如何处理它。
Electrobun – 一个有趣的尝试,用于使用 JavaScript 构建桌面应用程序的新 Electron 风格解决方案,但由 [Bun.](https://nodeweekly .com/link/164261/0a4070b383)不过,现在还处于早期阶段。
有我们的链接吗? 回复并告诉我们。我们无法包含所有内容,但我们会查看您发送的所有内容。 谢谢!
赞助: 发送电子邮件至“<kristina@cooperpress.com>”了解详细信息。
由库珀出版社有限公司出版
费尔菲尔德企业中心, 劳斯, LN11 0LS, 英国
发布者