#499 — August 29, 2023 |
👋 We're back! Well, sort of.. If you didn't get an issue of Node Weekly in the past few weeks, don't worry, I was on vacation. I'm technically on vacation for a couple more days but didn't want too many issues to pass by, so here we are 😁 |
|
The Complexity of Building an Efficient Node Docker Image — It’s possible to get huge reductions in image size and build time, but Samuel feels most of the optimizations are things that should be optimized out of the box. Nonetheless, you may find the details and approach shared here useful. Samuel Bodin |
Effortless Postgres Management with Crunchy Bridge — We make Postgres management easier than ever. Run a production check to ensure you're ready for launch day. Get more insight and control over your database without having to become an expert. Crunchy Bridge sponsor |
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 exception. 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 |
The folks at Red Hat (including Michael Dawson) blogged about each part of the architecture a couple of years ago, but it continues to be honed and refined. |
ASIDES:
|
How to Create an Nathan Taras |
Node.js's 'Config Hell' Problem? — Andy ponders why a Next.js project has over 30 configuration files and what we can do to avoid it (unsurprisingly, it involves using Deno, but I enjoy the boldness). Andy Jiang (Deno) |
14 Linting Rules To Help You Write Asynchronous JS Code — Walks through a variety of rules shipped by default with ESLint – an interesting way to learn some best practices. Maxim Orlov |
What is Adaptive Authorization? — "After Identity" explores how Adaptive Authorization keeps permissions precise & access temporal – not permanent. Sym sponsor |
📄 Using the TypeScript Compiler to Fix Erroneous Node.js Snippets — An academic paper.
|
Pitfalls to Avoid in Playwright
|
The Importance of Verifying Webhook Signatures
|
🛠 Code & Tools |
Chalk.ist: Create Attractive Images of Source Code — Turn your source code into beautiful images using a variety of themes and customizations. (Be sure to note accessibility requirements or issues around using such images.) Kasper Mikiewicz |
openai-node 4.x: A Rewrite of the Official OpenAI API Client — A complete rewrite of the SDK for OpenAI’s popular suite of LLM-oriented services that introduces streaming support for completions, improved TypeScript support, support for ESM and numerous edge compute systems, and more. OpenAI |
|
Chartbrew 2.8: Create Live Reporting Dashboards from Multiple Sources — Open source, built with Node, and lets you connect to numerous data sources and pull together data to turn into charts and dashboards. Chartbrew |
Metascraper: A Library to Scrape Metadata from Web Content — Uses things like Open Graph annotations, JSON+LD, and HTML metadata to get you things like author, title, description, and even an image related to the URLs of your choice. Microlink |
Neboa: Type-Safe NoSQL with Node and SQLite — NoSQL with SQLite? It’s all in the API. You get to use SQLite as if it were a NoSQL database via Neboa and it does the heavy lifting using JSON under the hood. GitHub repo. Samuel Bazaga |
QUICK RELEASES:
|