#​508 — October 31, 2023

Read on the Web

Node v21.1 (Current) Released with ESM Detection Feature“The new flag

1
--experimental-detect-module

can be used to automatically run ES modules when their syntax can be detected. … We hope to make detection enabled by default in a future version.”

Michaël Zasso

Node v20 Becomes Active LTS Version with v20.9.0 — Codenamed ‘Iron’, v20.9.0 is the first v20 release in its new life as the active LTS version, a role v20 will keep until October 2024. Time to start considering those Node 18 to 20 migrations in production..

Richard Lau

Streamline API Development with Postman Workspaces — Postman workspaces give teams shared access to the API tools they need to solve problems together. They are the go-to place for development teams to collaborate and move quickly while staying on the same page.

Postman sponsor

Say Goodbye to Node’s

1
Buffer

— It’s time to move from

1
Buffer

to

1
Uint8Array

, says Sindre. Given his epic number of maintained libraries, he could probably migrate half of the ecosystem solo, but he sets out his case for other library maintainers to avoid the use of

1
Buffer

in favor of the more cross-runtime alternative of

1
Uint8Array

and explains how to make the move, including a package to help.

Sindre Sorhus

IN BRIEF:

🗣 Is Express Still the ‘De-Facto’ Choice? — A Hacker News discussion about whether Express is still the ‘go-to’ choice for building Node-powered webapps. The statistics from every recent survey I’ve seen indicate yes, but there are plenty of viable alternatives to choose from.

Hacker News

The Basics of Using SQL Server from Node

Dianne Pena

An Introduction to Testing and Code Quality in Node

Samson Omojola

🛠 Code & Tools

resvg-js 2.6: A High-Performance SVG Renderer and Toolkit — Powered by Rust’s resvg on the backend, this works in both Node and the browser for converting SVG to PNG with a high level of SVG spec support. v2.6 claims to be ‘up to 115x faster’ for large SVG files, thanks to a new rendering algorithm.

Miscellaneous

Express Slow Down 2.0: Slow Down Repeated Requests — For when you don’t want Express to be quite so ‘express’. Use to slow repeated requests to public APIs and/or endpoints such as password resets.

Express Rate Limit

Accelerate Your API Development with Postman Collection — Browse 70+ free and customizable templates to jump-start your API design, documentation, development and testing workflows.

Postman sponsor

ImapFlow: Modern and Easy-to-Use IMAP Client Library — IMAP (Internet Message Access Protocol) is a popular protocol used by email clients to work with messages hosted on a remote mail server.

Postal Systems OÜ

Express TypeScript Skeleton: An Express.js App Template — It may be Halloween, but it’s not that type of skeleton. Instead it’s a template for creating a REST API on top of Express, TypeScript, ESLint, Prettier, and some other tools.

Borja Paz Rodríguez

crypto-hash 3.0: A Hashing Module Using the Native Crypto API in Node and Browser — Get the same hashing API in both environments. Uses the

1
crypto

module on Node and

1
window.crypto

in the browser.

Sindre Sorhus

📰 Classifieds

🚀 Open-Source Data Observability: Streamdal is a

1
tail -f

for your data with a UI and support for Node with our SDK.

📞 Calling all devs! Sentry Launch Week is coming. Tune in for new products, demos, and discussions with experts from the community. RSVP.

NOTABLE QUOTABLE

“The art of debugging is figuring out what you really told your program to do rather than what you thought you told it to do.”

___
Andrew Singer


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *