#​521 — February 20, 2024

Read on the Web

Apologies if you noticed there was no Node Weekly last week. This was intentional, but I forgot to mention it in advance. It's the usual weekly service now until Easter, at least.. :-)
__
Your editor, Peter Cooper

Together with  Memetria
Node.js Weekly

Node Community Debates Enabling Corepack by Default — Node developers are wrestling with the decision to enable Corepack (a tool for managing package managers) by default, which has sparked a debate about the possibility of even removing npm from the Node.js binary. (Unlikely IMO, but hey.)

Sarah Gooding (Socket)

Dax: Cross-Platform Shell Tools for Node — If it seems similar to Google’s zx, it is, but because it uses a cross-platform shell with common built-in cross-platform commands, more code will work across different OSes. Dax was originally written for Deno (which now has its own, native shell scripting functionality) but now supports Node too.

David Sherret

Memetria: Secure, Scalable Redis Hosting — High performance Redis hosting with large key tracking, detailed metrics, and a superior uptime record.

Memetria sponsor

How to Set Up a Basic Node Server App with TypeScript in 2024 — Popular dev educator Jason has put together a quick tutorial on how to set up a Node project in 2024, including TypeScript, live reloading, and loading in environment variables from .env.

Jason Lengstorf

💕 The Node.js Valentine's Day Security Releases — Security releases had been expected to land some time in the past two weeks and they finally landed as a Valentine's Day present in the shape of v21.6.2 (Current), v20.11.1 (LTS), and v18.19.1 (LTS). They include fixes for a variety of vulnerabilities, including a few high severity ones in areas like HTTP-based DoS attacks and privilege escalation.

Rafael Gonzaga and Marco Ippolito

IN BRIEF:

Creating Your Own Vector Search in 5 Minutes with SQLite & Nodesqlite-vss is a SQLite extension that adds basic vector storage and querying capabilities to SQLite, and you can combine it with Node and OpenAI embeddings to create your own natural language vector based search system reasonably quickly.

Markus Oberlehner

Saga Pattern Made Easy — Sagas are a common development blueprint, but they can be difficult to build, test, and maintain–learn how we can help.

Temporal Technologies sponsor

The Best Way to Get NVM Working in CI/CD Systems
Tomasz Gągor

🛠 Code & Tools

DashPress: Generate Versatile, Simple Admin Apps Quickly — Formerly known as Hadmean, this no-code admin app generator built atop Node and Next.js is easy to get started with. Just run: npx dashpress. If you want to see what the result is like, there’s a live demo which feels fast. (Note: AGPL 3.0 licensed.)

Ayobami Akingbade

yamlify-object 2.0: Stringify Objects with YAML Syntax — Take an object / array and turn it into a YAML string (which you can colorize with yamlify-object-colors if you want to use it for debugging purposes at the console.) js-yaml is another popular option in this space (that can parse YAML, too) but hasn’t had a release in three years.

Eugeny Dementev

📰 Classifieds

📢 Using Redis as a Postgres cache? Readyset Cloud makes query caching easier without query optimization or app rewrites. Try for free today.


🧑‍💻 Porkbun is the best place to get domain names, powerful hosting plans, and amazing support 365 days a year. Get $1 off your next domain!

node-libcurl 4.0: libcurl Bindings for Nodelibcurl is a very powerful and established way to fetch data from URLs across numerous protocols (HTTP, IMAP, SCP, SFTP, LDAP, Gopher..)

Jonathan Cardoso Machado

Directus 10.9: Wrap a Database with a GraphQL & REST API — A Node.js-powered system that acts as a frontend to a Postgres, SQLite, MySQL, Oracle, or other SQL database, providing a modern dashboard, client, and REST and GraphQL APIs. Here's what's new in version 10.9. (Note the BSL license which limits free use to below a certain revenue level, but then reverts to GPL after some time.)

Monospace, Inc.

  • Umzug 3.7 – Framework agnostic migration tool that provides a clean API for running and rolling back tasks.

  • Tedious 17.0 – TDS module for connecting to Microsoft SQL Server.

  • Chai 5.1 – BDD / TDD assertion framework.

  • Mocha 10.3 – Test framework for Node & browser.

  • Mineflayer 4.19 – Create Minecraft bots in JavaScript.

  • node-ble 1.10.0 – Bluetooth Low Energy library.

  • Pino 8.19 – Fast JSON-powered logging.