#355 — September 10, 2020

Read on the Web

Node Weekly

Undici: An HTTP/1.1 Client, Written From Scratch for Node — Particularly interesting because it’s under the official Node.js organization on GitHub. Why would you use this? As Matteo Collina notes: “If you need to lower the cost of your remote http calls by 2” and “This replaces the node core api with something significantly faster.”

Nagy, Collina, et al.

Node Resiliency Concepts: Recovery and Self-Healing — A look at a variety of ways by which to improve your process management and server management skills, such as with tools like Docker, pm2, and supervisor.

Andrei Gaspar

New Course: 🐧 Complete Intro to Linux and the Command-Line — Gain powerful command-line skills, learn to use Ubuntu, quit VIM, handle package management, and write your own shell scripts.

Frontend Masters sponsor

Node v14.10.0 (Current) Released — Nothing big here, lots of documentation edits, and a few minor tweaks such as the crypto package gaining a randomInt function that will return a integer within a certain range in a way that there’s no modulo bias, e.g. crypto.randomInt(1, 10)

(And just seconds before we were about to hit send, Node 14.10.1 was released to fix a streams regression with async generators in 14.10, so you'll really be getting 14.10.1 if you upgrade now :-))

Node.js Project

September 2020 Security Releases Due Next Week — The Node.js project will release new versions of all supported release lines sometime on or after next Tuesday (September 15) to fix three security issues. One issue, which affects only v14.x, is critical in nature. We’ll report on these release in next week’s issue.

Michael Dawson

💻 Jobs

Find Your Next Job Through Vettery — Create a profile on Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers.

Vettery

🧑‍💻 Interested in running a job listing in this newsletter? There's more info here.

📗 Tutorials

Surviving a Heatwave Using Google Cloud Functions — Dealing with a humid and hot summer in Belgium, Adriaan wanted some reminders to open and close his windows and curtains at certain times to keep temperatures bearable. This is how he approached the task using Google’s serverless platform.

Adriaan Marain

Reading and Writing CSV Files with node-csv — Using the csv-parse module to read CSV (comma separated values) files and the csv-stringify module to stringify data before writing it to a file.

Stackabuse

Find, Fix, and Prevent Misconfigs in AWS, K8s, Terraform, and More — Automate your cloud security in run-time and build-time with Bridgecrew’s developer-first platform. Get started for free.

Bridgecrew sponsor

5 Best Practices for Building a Modern API with Express

Simon Plenderleith

Machine Learning for JavaScript Devs in 10 Minutes — Covers the absolute basics but puts you in a position to move on elsewhere.

Allan Chua

What's New in Mongoose 5.10: Global Subdocument Configuration — The Mongoose expert is back with more for MongoDB-using Node developers.

Valeri Karpov

🛠 Tools, Resources and Libraries

npm v7.0.0 Beta 10 Released — Isaac says this should be the last beta v7 release with release candidates due to start next week.

Isaac Z. Schlueter

ngrok for VSCode: Public URLs for Local Dev Serversngrok is a popular service and project for opening up a secure tunnel to local dev servers for testing, etc. This lets you control it from VS Code.

Phil Nash

MikroORM 4: A TypeScript ORM for Node — Based around the Data Mapper, Unit of Work and Identity Map patterns, it supports MongoDB, MySQL, MariaDB, Postgres and SQLite. GitHub repo.

Martin Adámek

Optimize Node.js Performance with Datadog APM and Distributed Tracing

Datadog APM sponsor

FixCache: A GitHub App That Keeps Track of Bug-Prone Files From Commit History — An implementation of an idea from this academic paper about predicting the most fault prone ‘entities’ or files within a project.

Aavash Shrestha

Admin Bro: An Admin Panel for Node Apps — You provide the database models and Admin Bro generates the UI to manage data.

Software Brothers

Neon: Rust Bindings for Writing Safe and Fast Native Node Modules

Neon Bindings