Tag: 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…

Node 16 LTS now on AWS Lambda

May 19, 2022 By Mark Otto 0

Web Scraping via JS Runtime Heap Snapshots — When official APIs don’t offer all of the access users require (or don’t exist at all) scraping can become a less than ideal necessity. Puppeteer or Playwright make controlling a headless browser easy, but finding the data…

The one with the npm security stories

May 12, 2022 By Mark Otto 0

An Enhanced 2FA Experience for Your npm Account — Over the past six months, GitHub has been keen to tighten up security around the publishing of npm packages with two-factor authentication at the heart of the effort. Now an array of improved 2FA features are…

Node’s new CLI test runner

May 5, 2022 By Mark Otto 0

The Thing About Fastify — Express isn’t the only game in town but sometimes it feels like it, so Jonas has written a love letter, of sorts, to Fastify, an alternative Node.js Web framework that ticks his boxes and which you, too, should consider, if you…