Tag: node js

Using Rust to build Node modules

July 28, 2022 By Mark Otto 0

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 your GitHub and Twitter…

cd /home/nodejs/news

July 21, 2022 By Mark Otto 0

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 POSIX systems. Dr. Axel Rauschmayer…

Node 18.6 and custom ESM loaders

July 14, 2022 By Mark Otto 0

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 off some examples. Node…

All’s shell that ends shell.

July 7, 2022 By Mark Otto 0

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 child_process module here, but you might also want to…

Should Node.js support Web Workers?

June 30, 2022 By Mark Otto 0

Working with the File System from Node.js — Dr. Axel seems to be on a bit of a Node kick lately and comes back this week with a particularly deep dive on all things related to working with text files from Node, from simple reading…

Node.js in the stream.

June 23, 2022 By Mark Otto 0

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 goes into a lot…

Node 16 to duck out early in September 2023

June 16, 2022 By Mark Otto 0

zx v7.0: Better Script Writing with Node.js — No, not movie scripts, but shell scripts and the like. If writing JavaScript instead of wrestling with bash, Perl or Python sounds better to you, zx can make your life easier. v7.0 is fully rewritten in TypeScript,…

A big week for Fastify

June 9, 2022 By Mark Otto 0

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 new features, although this…

util.parseArgs arrives in Node 18.3

June 2, 2022 By Mark Otto 0

💡 Node 17.9.1 and 16.15.1 have been released too but are minor dependency-focused releases. What npm Can Learn from Go — Go’s approach to dependency management mitigates some key supply chain issues, but could some of Go’s ideas be brought into the world of npm? This…

TypeScript 4.7 supports ES modules in Node.js

May 26, 2022 By Mark Otto 0

TypeScript 4.7 Released — We wouldn’t usually make TypeScript a top feature in Node Weekly although many of you are using it, but this release has a huge feature in the shape of ES module support for Node – a feature that has been infamously difficult…