Using Rust to build Node modules

#​448 — July 28, 2022 Read on the Web Introducing Even More Security Enhancements to npm — GitHub continues to up npm’s security game with enhancements that affect most of us in some way or another. There’s a streamlined login and publishing experience with the npm CLI, you can connect Read more…

Better type checking and more in Deno 1.24

A recent upgrade to Deno, the JavaScript and TypeScript runtime positioned as a rival to Node.js, improves performance for transpiling, type checking, and more, proponents say.  Prior to the Deno 1.24 release, Deno internally converted TypeScript code to JavaScript using the TypeScript compiler when the 1–check flag was specified; otherwise, it used Read more…

cd /home/nodejs/news

#​447 — July 21, 2022 Read on the Web Working with File System Paths — Dr. Axel puts on his scuba gear and resumes his deep dive into Node with a look at ways to manipulate file system paths using core packages, including taking into account differences between Windows and Read more…

Node 18.6 and custom ESM loaders

#​446 — July 14, 2022 Read on the Web Custom ESM Loaders: Who, What, When, Where, Why, How? — That’s a lot of questions! Custom loaders aren’t necessarily something you’ll use directly a lot, but are useful behind the scenes for controlling how modules are loaded – this post shows Read more…

All’s shell that ends shell.

#​445 — July 7, 2022 Read on the Web Executing Shell Commands from Node.js — Dr. Axel’s journey through the backrooms of Node.js continues with another in-depth guide – this time tackling running other programs from our Node apps. The focus is on the built-in 1child_process module here, but you Read more…

9 Deno runtime projects to watch

Deno is championed as a more-secure alternative to the popular Node.js JavaScript runtime. The 1.0 version of the Deno runtime, which leverages the V8 JavaScript engine and was built using Rust, arrived in May 2020. Node.js founder Ryan Dahl even spearheaded Deno’s development, which now has more than 83,000 stars Read more…

Node.js in the stream.

#​443 — June 23, 2022 Read on the Web Using Web Streams in Node.js — Streams provide a handy abstraction for cleanly working with streaming data but Web Streams (a.k.a. WHATWG Streams) are a different, more broadly supported beast to classic Node.js streams. Dr. Axel starts from the basics but Read more…

A big week for Fastify

#​441 — June 9, 2022 Read on the Web Fastify 4.0 Released — The first major release of a popular, high performance Node.js Web framework in two years warrants some celebration. A focus has been placed on stabilization, modernization, and improving the already quite stable developer experience, rather than flashy Read more…