#474 — February 16, 2023 |
|
How To Scale Node Apps with Clustering — Node’s cluster module can be used to run and manage multiple Node instances as a way to distribute workloads. Stanley gives a thorough and practical walkthrough of how to do it and why and when it yields a benefit. Stanley Ulili |
Pythagora: Generate Integration Tests by Recording App Activity — This is a neat idea still in its early stages. Add a single line of code after setting up your Express app and Pythagora will capture usage of your app and generate integration tests based upon those interactions. There’s ▶️ a quick screencast if you want to get a better sense of it. zvone187 and LeonOstrez |
A Fresh Introduction to Next 13+ — Learn Next.js, the complete full-stack framework to create basic blog websites up to full-blown apps and APIs! Plus if you are already familiar with Next.js, we have a course building a full app on Next 13+. Frontend Masters sponsor |
Those Node.js Security Releases are.. Today — Last week we teased the release of Node’s latest security releases on February 14 but they’ve been delayed by two days to.. today. At the time of sending, we have no further info, but they should be available from this page.. very soon. Michael Dawson (Node.js Project) |
Using RxDB as a Database in Node.js — RxDB is an offline-first, reactive database. While it was initially focused at frontend use cases, it can be used as an embedded, local database inside a Node app too. RxDB Team |
Git Notes: Git's Coolest, Most Unloved Feature? — Did you know you can add notes to commits (beyond usual commit messages) using command-line git? Tyler Cipriani |
A Complete Guide to Timeouts in Node.js
|
A Better Way to Set Up a Cloudflare Worker Project Locally with Miniflare
|
IN BRIEF:
|
🛠 Code & Tools |
binary-parser: Declarative Parser Builder for Binary Data — Chain together methods to define binary structures which can then be used against real data. For example, a IP packet header parser might begin: Keichi Takahashi |
Execa 7.0: A Better Sindre Sorhus |
Increase Security and Reliability with an API Gateway for Node.js — Need an API? Check out Snyk’s step by step tutorial and learn how to build one from scratch with Node.js and a few open source packages securely. Snyk sponsor |
Devalue: Like Rich Harris |
python-shell 5.0: Run Python Scripts From Node.js — Provides some niceties in communicating between the two processes (and handling errors). Nicolas Mercier |
JPEG Autorotate: Rotate JPEGs from EXIF Orientation Data — Many photo-taking devices store their orientation within the metadata of photos they take and this module can use that info to appropriately reorient such images. Johan Satgé |
|
QUICK RELEASES: |
|