#540 — July 16, 2024 |
|
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 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:
|
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 📄 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 |
|
Poku 2.0: A Cross-Platform Test Runner for JS — Poku’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 |
|