#​540 — July 16, 2024

Read on the Web

A Guide to Reading and Writing Node.js Streams — A post from the creator of Fastify (and a Node.js TSC member) is always a treat. Matteo reminds us of the benefits of using Node’s powerful streaming data features, where they make sense, and how to handle back-pressure and error management.

Matteo Collina

Work Progresses on

1
node:sqlite

— Last week, we featured efforts to include SQLite and a client library into the Node distribution. Things continue to progress quickly, with the feature proposed for inclusion in the forthcoming Node v22.5. You can see how it’ll work in this CodeSandbox example.

Node.js GitHub Repo

WorkOS: The Modern Identity Platform for B2B SaaS — Start selling to enterprise customers with just a few lines of code. WorkOS provides flexible, easy-to-use APIs to integrate SSO, SCIM, and RBAC in minutes. It’s used by hundreds of high-growth startups including Perplexity, Vercel, Drata, & Webflow.

WorkOS sponsor

NPM Supply Chain Security: Why We Can Be Optimistic About the Future — We frequently link to stories about misuses of npm to distribute malware, nefarious packages, and more, but Robat reflects on just how much things are improving with 2FA, package provenance, and community efforts.

Robat William

⚠️ In related news, Socket reports an unverified npm account takeover vulnerability was offered for sale on a dark web forum.

IN BRIEF:

  • Deno 1.45 is out and continues to improve its Node.js compatibility story significantly. It’s also gained support for workspaces and monorepos.

  • The Node subreddit got its teeth into an age old question: MongoDB versus Postgres?

  • The npm registry has begun removing READMEs from package version metadata to reduce the size of package packuments.

  • Tabular-JSON is a proposed superset of JSON that adds support for CSV-like tables and optional quotes.

A Developer’s Review of a Snapdragon X Laptop — The Lenovo Yoga Slim 7x, specifically. It’s a neat developer-focused look at a new option on the market. It’s not all about Node but he did try to get Node working under Windows on ARM and ran into some teething problems.

Wesley Moore

Bring StackBlitz to Work — In our upcoming livestream, we’ll cover the best ways to build and share prototypes and quickly reproduce bugs.

StackBlitz sponsor

📄 Why

1
page.goto()

is Slowing Down Your Playwright Tests Stefan Judis

📄 Playwright vs. Puppeteer: Which is Better? Lekh and Vasilis (Apify)

📄 Building a Full-Stack App with Kafka and Node Lucia Cerchie (Confluent)

🛠 Code & Tools

Micro Agent: An AI Agent That Writes Code for You — Sure, you can ask ChatGPT, Copilot or Claude to write code for you, but you know how that can sometimes turn out.. Is there a better way? Micro Agent is a Node-based tool that takes the approach of writing a test case first and then iterates upon a solution until the tests pass.

Builder․io

💡 Steve Sewell and Vishwas Gopinath have blogged more about how it works here.

why-is-node-running: Find Out Why Node is Running — Most of the time you know why your app is running, but when you don’t, this can help you to find out what’s keeping it going.

Mathias Buus

📰 Classifieds

Meetings should be more like code reviews. We’re building a product for that and looking for software leaders to join the beta. Apply here.

🐘 Postgres user? Check out our sister newsletter, Postgres Weekly.

Poku 2.0: A Cross-Platform Test Runner for JSPoku’s philosophy is to ‘bring the JavaScript essence back to testing.’ It runs the same way across Node, Bun and Deno, and auto-detects ESM, CommonJS and TypeScript.

Weslley Araújo

tsoa: Build OpenAPI-Compliant REST APIs with TypeScript — Use TypeScript-based controllers and models as the single source of truth for your API with an OpenAPI spec then generated from them.

Luke Autry


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *