#548 — September 17, 2024
Together with
nano-spawn: Tiny Execa-Inspired Process Execution — If you’re familiar with Sindre’s powerful Execa for running commands from a Node app in a robust manner, nano-spawn
offers its core functionality in a smaller package and remains a better option than child_process
in any case.
Sindre Sorhus and ehmicky
💡 But if you prefer the ‘full fat’ experience of Execa, v9.4.0 was released yesterday.
▶ From Node.js to Deno: How It All Began — A brief nine minute documentary exploring the origins of Deno with Ryan Dahl and Bert Belder. A good, quick way to get up to speed with the motivations behind the alternative JavaScript runtime.
Honeypot
Memetria: Redis Hosting for Serious Developers — Memetria provides secure, scalable hosting with features that enhance your development experience, including large key tracking and detailed performance metrics. Keep your production apps fast with better and uptime.
Memetria sponsor
JavaScript™: A Plea for Oracle to Release the JavaScript Trademark — It’s long been a bone of contention in the JavaScript community that Oracle owns the JavaScript trademark, but this marks the first truly serious effort to try and change that. Join the effort by ‘signing’ this open letter, if you agree.
The JavaScript Community
IN BRIEF:
📗 The Node.js Reference Architecture is a compendium of knowledge and practices built up within Red Hat and IBM to help teams make good decisions when building Node.js apps. It’s now also available in e-book form (Red Hat login needed).
📊 An interesting spreadsheet of 5000 npm packages ranked by package size, weekly downloads, and traffic. Amazingly, one package is responsible for 278 terabytes of traffic per week.
Eleventy (a.k.a. 11ty) is a popular Node-powered static site generator and the project is now joining Font Awesome.
📄 A GitHub Trick to Find the Commit That Deleted a File Raymond Chen
📄 Top 5 HTTP Request Libraries for Node.js Damilola Olatunji
🛠 Code & Tools
Chokidar 4.0: Efficient Cross-Platform File Watching Library — Wraps around fs.watch
/ fs.watchFile
and normalizes the events received, applies some best practices, and presents an API that works the same across different platforms.
Paul Miller
🗓️ ViteConf is October 3rd! — StackBlitz is r(ai)sing the bar in the ViteConf ‘24 keynote. You won’t want to miss it 👀.
StackBlitz sponsor
🍪🔒 tough-cookie 5.0: RFC6265 Cookies and CookieJar for Node — A long standing library from Salesforce, now with a major update. v5.0 includes a move to TypeScript, as well as some API changes.
Salesforce
Biome v1.9 Released; Turns One Year Old — Biome started life as a fork of Rome, a bold attempt to create an all-in-one ‘frontend toolchain’. As of v1.9, Biome can format and lint CSS, GraphQL, and JavaScript, does it very quickly, yet has 97% compatibility with Prettier.
Victorien Elvinger & Biome Core Team
FarmHash 4.0: Node Implementation of Google’s High Performance Hash Functions — FarmHash is a family of non-cryptographic hash functions built by Google mostly for quickly hashing strings.
Lovell Fuller
hot-shots: A Node Client for StatsD, DogStatsD, and Telegraf — Originally a turbo-charged, modernized fork of node-statsd.
Brightcove
🥬 MongoDB Node.js Driver 6.9 – The latest official MongoDB driver. It gets ready for MongoDB 8.0, adds support for explicit resource management, and MongoDB 3.6 support is deprecated.
Express.js 4.21 – Last week, we featured Express.js 5.0 but the 4.x branch continues to get updates.
🗓️ date-fns 4.0 – Modern JavaScript date utility library, now with first-class timezone support.
Middy 5.5 – Node.js middleware engine for AWS Lambda.
serve-static 2.1 – A quick way to serve static files from Node.
Node-SSH 1.16 – Pure JS SSH2 client and server modules.
Mikro ORM 6.3.10 – Popular ORM for TypeScript & Node.
Wretch 2.10 – Tiny, fluent wrapper built around fetch
.
milliparsec 4.0 – “Tiniest body parser in the universe.”
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
#548 — 2024 年 9 月 17 日
连同
[](https://nodeweekly. com/link/159808/0a4070b383)
nano-spawn: Tiny Execa-Inspired Process Execution — 如果您熟悉 Sindre 强大的 [Execa](https://nodeweekly .com/link/159810/0a4070b383)为了以稳健的方式从 Node 应用程序运行命令,“nano-spawn”提供了其核心功能[在较小的包中](https://nodeweekly.com/link/159811/0a4070b383 )并且在任何情况下仍然是比“child_process”更好的选择。
辛德尔·索尔胡斯和埃米基
💡但如果您更喜欢 Execa 的“全脂”体验,v9.4.0 已发布 昨天。
▶ 从 Node.js 到 Deno:一切是如何开始的 — 一部简短的九分钟纪录片,探索 [Deno]( https://nodeweekly.com/link/159814/0a4070b383)与 Ryan Dahl 和 Bert Belder。这是一种快速了解替代 JavaScript 运行时背后动机的好方法。
蜜罐
Memetria:为认真的开发人员提供 Redis 托管 — Memetria 提供安全、可扩展的托管,其功能可增强您的开发体验,包括大密钥跟踪以及详细的性能指标。让您的生产应用保持快速运行,并提高正常运行时间。
Memetria赞助商
JavaScript™:请求 Oracle 释放 JavaScript 商标 — Oracle 拥有 JavaScript 商标一直是 JavaScript 社区争论的焦点。 JavaScript 商标,但这标志着第一次真正认真地尝试改变这一点。如果您同意,请“签署”这封公开信来加入这一努力。
JavaScript 社区
简而言之:
📗 Node.js 参考架构 是 Red Hat 和 IBM 内部构建的知识和实践概要,可帮助团队在构建 Node.js 时做出正确的决策应用程序。它现在也以电子书形式提供(需要登录红帽)。
📊 一个包含 5000 个 npm 包的有趣电子表格 按包大小、每周下载量和流量排名。令人惊讶的是,一个包每周产生 278 TB 的流量。
Eleventy(又名 11ty) 是一个流行的 Node-powered 静态站点生成器,[该项目现在正在加入 Font Awesome。](https:// nodeweekly.com/link/159820/0a4070b383)
📄 查找删除文件的提交的 GitHub 技巧 Raymond Chen
📄 Node.js 的前 5 个 HTTP 请求库 Damilola Olatunji
🛠 代码和工具
Chokidar 4.0:高效的跨平台文件监视库 — 围绕 fs.watch
/ fs.watchFile
并规范化事件收到后,应用一些最佳实践,并提供一个在不同平台上运行相同的 API。
保罗·米勒
🗓️ ViteConf 将于 10 月 3 日举行! — StackBlitz 正在 ViteConf ’24 主题演讲中唱响酒吧。你不会想错过它的。
StackBlitz 赞助商
🍪🔒 tough-cookie 5.0:用于 Node 的 RFC6265 Cookie 和 CookieJar — 来自 Salesforce 的长期库,现在进行了重大更新。 v5.0 包括转向 TypeScript 以及一些 API 更改。
销售人员
Biome v1.9 发布;一岁了 — Biome 开始生命 作为一个分支罗马,这是创建一体化“前端工具链”的大胆尝试。从 v1.9 开始,Biome 可以对 CSS、GraphQL、和 JavaScript 进行格式化和 lint,“非常”快速,而且[与 Prettier 具有 97% 的兼容性。](https://nodeweekly.com/link/159829/ 0a4070b383)
Victorien Elvinger 和 Biome 核心团队
FarmHash 4.0:Google 高性能哈希函数的节点实现 — [FarmHash](https://nodeweekly.com/link/159831/ 0a4070b383)是 Google 构建的一系列非加密哈希函数,主要用于快速哈希字符串。
洛弗尔·富勒
热点:StatsD、DogStatsD 和 Telegraf 的节点客户端 — 最初是 node-statsd 的涡轮增压、现代化分支。
布赖特科夫
🥬 MongoDB Node.js 驱动程序 6.9 – 最新的官方 MongoDB 驱动程序。它已为 MongoDB 8.0 做好准备,添加了对显式资源管理的支持,并且已弃用 MongoDB 3.6 支持。
Express.js 4.21 – 上周,我们推出了 Express.js 5.0,但是4.x 分支继续获取更新。
🗓️ date-fns 4.0 – 现代 JavaScript 日期实用程序库,现在具有一流的时区支持。
Middy 5.5 – 适用于 AWS Lambda 的 Node.js 中间件引擎。
serve-static 2.1 – 从 Node.js 提供静态文件的快速方法。
Node-SSH 1.16 – 纯 JS SSH2 客户端和服务器模块。
Mikro ORM 6.3.10 – 适用于 TypeScript 和 Node.js 的流行 ORM。
Wretch 2.10 – 围绕 fetch
构建的小型、流畅的包装器。
milliparsec 4.0 – “宇宙中最小的主体解析器。”
有我们的链接吗? 回复并告诉我们。我们无法包含所有内容,但我们会查看您发送的所有内容。 谢谢!
赞助: 发送电子邮件至“<kristina@cooperpress.com>”了解详细信息。
由库珀出版社有限公司出版
费尔菲尔德企业中心, 劳斯, LN11 0LS, 英国
发布者