#​391 — June 3, 2021

Read on the Web

Node Weekly

Electron 13.0 Released — Maybe 13 is unlucky for some, but lucky for you if you have cross-platform desktop apps to build with Node! Version 13 gets you onto Chromium 91 (reading files from the clipboard seems to be a new possibility..), Node 14.16, and V8 9.1.

Electron.js Team

Node v16.3.0 (Current) Released — A pretty minor update this time. A variety of bug fixes, updates to dependencies and tools (e.g. npm), part of which means npm install commands now have workspaces support.

Danielle Adams (Node.js Project)

Couchbase Is the SQL-Friendly, NoSQL JSON Document Database — Couchbase has integrations available for Spring, Node, ASP.NET, and more. Read and write your data with a fusion of NoSQL flexibility and SQL familiarity. Check out developer.couchbase.com today for sample apps and tutorials.

Couchbase sponsor

Writing Custom REPLs in Node — If you just run a plain node at the terminal, you get Node’s REPL environment.. but what if you want to create a REPL within a context of your own creation? Some basic guidance here.

Nate Anderson

QUICK BITS:

Head-to-Head: Monolith vs. Microservices — Learn how you can leverage microservices to modernize your IT portfolio with a progressive approach.

OutSystems sponsor

On the Diverse And Fantastical Shapes of Testing — Does your testing follow a pyramid, a honeycomb, or a trophy? How many unit tests vs integration vs other? Is mocking and stubbing OK? The testing world is certainly full of opinions and shapes.

Martin Fowler

▶  Using Async, Await, and Promises in Express
Beyond Code Workshop

How We Debugged And Fixed EMFILE: too many files open on AWS Lambda — When running a Node based function, the author’s team kept running into this error oriented around the use of file descriptors. Luckily, the fix was pretty simple.

Michael Bahr

How to Create a Monorepo for Multiple Node Packages — A step-by-step guide on how to use Lerna (a tool that optimizes the workflow around managing multi-package repositories with git and npm) to manage, and publish, two packages under the same monorepo.

Tom Zach

▶  How to Build a Realtime Chat App in 10 Minutes — The code is, unsurprisingly, very simple, although this is achieved by leaning on Pusher for all the hard backend work.

Scalable Scripts

How to Reduce RAM Consumption When Using ts-node
Amir Blum

💻 Jobs

Node.js Developer at X-Team (Remote) — Join the most energizing community for developers and work on long-term projects for Riot Games, FOX, Sony, Coinbase, and more.
X-Team

Find Software Engineering Jobs with Hired — Take 5 minutes to build your free profile & start getting interviews for your next job. Companies on Hired are actively hiring right now.
Hired

🛠 Code and Tools

NocoDB: An Open Source Airtable-a-Like — Airtable is a popular, though commercial, spreadsheet-database hybrid offered as a service. We use it here at Cooperpress to help put the newsletters together! This is a flexible and surprisingly good looking open source pastiche.

nocodb team

awesome-nodejs-security: A Curated List of Node.js Security Resources — Includes libraries like express-enforces-ssl and stories of incidents like the left-pad incident.

Liran Tal

Why Tracing Might Replace (Almost) All Logging

Lightstep sponsor

Execa 5.1: A Better child_process — A way to run external processes from your Node app. Has a Promise-based interface, better support for Windows, allows up to a 100MB max buffer (vs the 200KB child_process uses). v5.1 adds an escapedCommand property to the results.

Sindre Sorhus

Forever 4.0: Ensure a Script Runs Continuously — .. or forever, if you will.. heat death of the universe be darned.

forever

ssh2 v1: Pure JavaScript SSH2 Client and Server Modules for Node
Brian White

🧰 OTHER UPDATED PACKAGES TO CHECK OUT

⏰ From the queue..

We often end up with a backlog of timeless items that didn't make it into an issue but that deserve to get featured at some point.

How To Install or Update Node by Using nvm (Node Version Manager)
Max Kovalevsky

A Chat with Will Farrell & Luciano Mammino - Creators of AWS Lambda Middleware Engine 'Middy'
Peter Cooper

I Analyzed All NPM Dependency Licenses in One Go, Here's How
Dulanka Karunasena

How CLIs in Node.js Actually Work
Eytan Manor

Five Things I Learnt About Node Fundamentals From The Node.js Design Patterns Book
Shawn Wang

How to Run Node Scripts in the Cloud With AWS Fargate
Andy Peterson

Using ES6 Import Syntax in Node
Aman Mittal