#358 — October 1, 2020

Read on the Web

🥳 Today we've noticed that we've just passed 50,000 subscribers! Thanks for all of your continued support and we hope you enjoy the newsletter.

Node Weekly

Exploring Node.js Async Hooks — Hooks aren’t just for React 😉 Async hooks provide a way to track asynchronous resources and Diogo shows off some examples of where they can fit into your code.

Diogo Souza

Node v14.13.0 (Current) Released — A release that looks basic on the surface, with libuv updated to v1.40.0 and support added for an export patterns scheme with wildcards (e.g. */*.js), but a super neat feature is support for named imports/exports with CommonJS modules!

Myles Borins

The Diagnose: How Support Works at AppSignal — Developer experience is really important to us, as AppSignal started as a way to scratch our itch. We also put a lot of effort in providing you with a first-class support. In fact, our developers are the ones answering all of your questions.

AppSignal sponsor

SuperTest 5.0: Super-Agent Driven Library for Testing Node HTTP Servers — A very long standing and mature library for making assertions about HTTP servers using a fluent API. For example, things like: request(app).get('/user').expect('Content-Type', /json/)

Sloth

V8 Release 8.6 — The latest version of the V8 JavaScript engine is now in beta until its eventual release with Chrome 86 and a future version of Node. The codebase is now more respectful, there are speedups in Number.prototype.toString, and a JavaScript fuzzer called js-fuzzer has been open sourced.

Ingvar Stepanyan (V8 Team)

Fastify 3.5.0: The Fast and Low Overhead Web Framework — Matteo Collina spoke about how to get started with Fastify and why you might use it instead of Express in this podcast episode last month.

Fastify

💻 Jobs

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

X-Team

Find a 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 and Stories

5 TILs about Node Fundamentals from the Node Design Patterns Book — Notes made during a read through of Node.js Design Patterns from Packt.

Shawn 'swyx' Wang

Building a Node App with CockroachDB and Sequelize — CockroachDB is an open source distributed SQL database aimed at resilience and its creators consider the Node ORM Sequelize to have ‘beta level’ support for it.

Cockroach Labs

Scout APM: Pinpoint & Fix Performance Issues Fast. Start Now for Free — Scout's intuitive UI streamlines real-time performance insight so you can spend less time debugging, more time building.

Scout APM sponsor

Getting Started with Eleventy, the Static Site Generator11ty (a.k.a. Eleventy) is a Node-powered static site generator that may interest you if you want to keep things really simple.

Craig Buckler

How to Fix Postgres Performance Issues with PG Extras — An introduction to a tool you can use to spot Postgres related issues in Node, Elixir and Ruby contexts. node-postgres-extras is the repo you want.

Paweł Urbanek

🛠 Tools, Resources and Libraries

twitter-api-client: Node Client Library for the Twitter API — An unofficial library but using the official Twitter API, of course. The benefits here? It’s promise-based and fully typed.

Simon LH

DashDash: A Light and Explicit CLI Option Parsing Library — I like the creator’s justification: “The others I’ve tried are one of too loosey goosey (not explicit), too big/too many deps, or ill specified. YMMV.”

Trent Mick

npm v7.0.0 Beta 13 Released — Adds support for --fetch-timeout to customize the timeout for fetching resources (by default, supposedly zero in npm 6 but to be 5 minutes in npm 7).

The npm Blog

Build Code and Ship In App Messaging in a Few Hours

Stream sponsor

pm2 4.5 Released: The Node Production Process Manager — A very mature and widely used process manager that includes a load balancer for keeping Node apps alive forever – pm2 continues to remain a fundamental part of the Node ecosystem.

Alexandre Strzelewicz

node-poppler: Asynchronous Wrapper for the Poppler PDF Rendering LibraryPoppler is a PDF rendering library based on xpdf. Windows and macOS binaries come with this repo but Linux users will have a little more work to do.

Frazer Smith

🏆 Golden Oldie of the Week

Whenever someone mentions this on Twitter, it still gets lots of likes and rewteets so there's clearly plenty of people who either haven't seen it or want to remember it exists 😂 Just remember to give it a try when you're feeling a bit short of disk space..

npkill: Easily Remove Old or Heavy node_modules Folders — List any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space. GitHub repo.

Nya García and Juan Torres