Tough cookies
#548 — September 17, 2024
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.”