A better HTTP client for Node

June 17, 2021 By Mark Otto 0

Undici 4.0: An HTTP Client, Written from Scratch for Node — The goal of this project has been to replace Node’s core HTTP library with something faster, more scalable, and without the ‘fundamental design issues’ of the core API. v4 introduces redirect support, a faster WASM-powered parser, and a native mocking layer. GitHub repo.

Nagy, Collina, et al.

Redis 6.2 on RedisGreen — SSL encryption, key size tracking, memory mapping, online upgrades, and more.

RedisGreen

Explicit ESM in Node with .mjs — As you’ve probably gathered from the many links in recent issues, Node is now fully aboard the ES modules train. In this two part series, Tierney Cyren explains explicit ways to determine ES module files from CommonJS files (the .mjs and .cjs extensions) and then an implicit way.

Tierney Cyren

Next.js 11 Released — The popular React framework takes some more steps forward with improved performance, Webpack 5 support, an experimental way to make Create React App apps Next.js compatible, and Next.js Live, a preview of a way to build Next.js apps in the browser, collaboratively, with a team.

Next.js Team

THAT’S A LOT..
🛠 Code and Tools

Introducing Papr: Type-Safe Node.js Models for MongoDB — Plex is a heavy user of MongoDB and Node.js and when they adopted TypeScript they decided they needed to create a library around the MongoDB driver that could provide strong validation of data as well as type safety through TypeScript types.

Agachi, Vanderhooft and Martin

Canary in the Gold Mine v8.0 — A core tool that you might not be aware of. It lets you pull down any module of your choice and test it using a specific version of Node.js.

Node.js Project