Using ‘execa’ to run other processes
#427 — March 3, 2022
Running Commands with execa in Node — We’ve linked to Sindre Sorhus’ popular execa process execution library many times over the years, but here’s a thorough tutorial which also shows off the value execa brings over the vanilla child_process.
Tired of Egregious Egress? — Vultr offers affordable Cloud Compute across more than 20 global locations featuring advanced networking features and a one-click Application & OS Marketplace. Instances start as low as $2.50 per month. Claim $100 in credit now.
Red Hat and IBM’s Node.js ‘Reference Architecture’ — Big companies like to have well defined playbooks from which to work and Red Hat and IBM are no different. It’s an opinionated guide to how their engineering teams work with Node, what tools they prefer, and their development and operational practices.
Red Hat and IBM
NodeSource has released N|Solid 4.7.0, the latest version of its enterprise-level production-oriented Node.js platform.
David Herron digs into the intricacies of Node’s newest (experimental) feature: loading modules over HTTPS.
A developer reimplemented Node’s URL parser in Rust with a WebAssembly bridge for their Masters graduation project.
Senior Backend Developer — Are you looking to level up your skills and work on a wide variety of applications and technologies? Look no further.
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
🐦 The official Node.js Twitter account also started a thread about companies looking to fill Node.js-related roles if you want more.
Understanding the Dependencies Inside Your package.json — Recently the authors looked at the basics of package.json but now they’ve moved on to defining what each of the dependency related keys in package.json are for.
Gabby T and Marian Villa (NodeSource)
Migrating a Node.js App’s Database From MongoDB to Postgres
Profiling Next.js Apps with Parca
🛠 Code & Tools
dnt: Deno-to-Node Package Transformation Tool — Takes a Deno module and creates an npm package for use in Node. Goes further than mere packaging though and actually injects shims, transforms commonly Deno code forms to Node approaches, and more.
Hygen: A Simple and Scalable Code Generator Tool — Build ad-hoc generators quickly right up to full on project scaffolds.
Dotan J. Nahum
Nohm 3.0: An ORM-of-Sorts for Redis — Redis is a popular in-memory data structure store commonly associated with caching. It’s not inherently relational, but you can model such data structures within it and Nohm provides some abstractions to Node users.
pg-boss 7.2.0: Postgres and Node Job Queueing System — A job queue for background processing and reliable asynchronous execution. It uses Postgres specific features to guarantee safety.
Fiber 2.28.0: An Express.js Inspired Web Framework for Go — A Go project? In a Node newsletter? Well, a lot of us like playing with different languages, and Fiber is particularly neat if you like the Express.js approach. We also have a Go newsletter if you do play in that space at all.
🕰 ICYMI (Some older stuff that may catch your eye…)
This straight-to-the point tutorial covers creating and publishing a private npm package with the GitHub package registry.
Thomas Sentre shares how to create a real-time chat app with Node and WebSocket.
Here’s a quick look at how to use the ‘error cause’ feature when debugging.
Dima Grossman explains how to go about reducing your monorepo build time by up to 70%(!).