👋 Thanks for continuing to read Node Weekly and for your submissions and support across the year! This is the final issue of 2020 and we'll be back on January 7, 2021 — we hope you have a happy holiday season :-)
Peter Cooper, your editor, and the Cooper Press team.

#369 — December 17, 2020

Read on the Web

Node Weekly

The most clicked Node Weekly items of 2020

1.  A Growing Collection of 100+ Node.js Best Practices — An in-depth guide for Node developers of all types and available in several natural languages. Divided into 8 sections and updated regularly (about 20 best practices have been added since we last linked it, along with 16k more GitHub stars!)

Yoni Goldberg et al.

2.  11 Top Node ORMs, Query Builders & Database Libraries in 2020 — Choosing an ORM or query builder for your app can be daunting, but this roundup from the folks at Prisma really went into some depth on the most popular options including Mongoose, Knex.js, Sequelize and, yes, Prisma (so take that natural bias into account).


New Course: Production-Grade TypeScript — Use the TypeScript language at scale to increase the developer experience and productivity of your teams. Learn to manage even the most ambitious TypeScript projects with confidence and ease.

Frontend Masters sponsor

3.  You (Possibly) Don't Need Moment.jsMoment.js is a popular date and time manipulation library, but this repo shows off alternative approaches, including many native functions that do similar things. Even the Moment.js team have noted alternatives may be better. At the least, this is a nice cheat sheet for date and time manipulation :-)

Various Contributors

4.  Node Modules at 'War': Why CommonJS and ES Modules Can’t Get Along — As a Node developer you’ll certainly be familiar with CommonJS, the module format system Node uses. ES Modules, however, are an official, standardized way to bring modules to JavaScript and Node's official support for them has grown rapidly over 2020. But what's it all about and why does it matter? And how can you deal with the existence of both?

Dan Fabulich

5.  How I Build Backends for Webapps — An experienced developer has basically dumped everything he can think of about building and deploying Node.js-powered apps into this article that covers architectural approaches, SSL support, file storage, notifications and more. Opinionated, but it’s always interesting to see how other people approach things.

Federico Pereiro

Tutorial: Supercharge Stream Feeds with Algolia & GraphQL — Learn to seamlessly integrate Algolia and Stream Feeds by utilizing GraphQL with Node.js.

Stream sponsor

Runners up:

  1. Exploring Node.js Async Hooks by Diogo Souza.
  2. An Introduction to Event Loop Utilization by Trevor Norris.
  3. A Practical Guide to Memory Leaks in Node by Arbaz Siddiqui.
  4. The Largest Collection of Node.js CLI Apps Best Practices by Liran Tal.
  5. Google Sheets for Developers - Franziska Hinkelmann and Anu Srivastava dug into some of the cool things you can do with Google Sheets from Node.

Most clicked Node tools and projects of 2020

Deno 1.0: What You Need to Know — Back in 2018, Ryan Dahl, the original creator of Node, gave a popular talk called 10 Things I Regret About Node.js where he revealed Deno, his prototype of how he'd build a better V8-based JavaScript runtime. Deno 1.0 arrived this year and has steadily matured since. It's worth a look over the holidays if you're itching for something to try.

David Else

Introducing Yarn 2: Big Steps Forward for the Popular Package Manager — Yarn, a popular alternative npm, took an interesting jump forward this year with quite a few fundamental changes (in the migration guide it’s called “very different software” to v1) and new features borne from the team’s own usage. The reception I've seen on social media since has been rather mixed.

Maël Nison

Socket.io 3.0 Released: A Realtime Framework for Node and Browser — socket.io has been around for many years and was once the ‘go to’ system for bidirectional browser/server communications that worked in almost every browser. Happily, the question of why you might still use socket.io (and some alternatives if you don’t want to) was answered in these release notes.

Socket.IO Project

An Engineering Leader’s Guide to OpenTelemetry

Lightstep sponsor

Playwright: A Node Library to Automate Chromium, Firefox and WebKit — Microsoft’s take on a Puppeteer style library for automating browsers. It's continued to see frequent updates over 2020. v1.7.0 just came out with support for Apple Silicon and a new browser storage API.


Fastify 3.0: A Fast 'Low-Overhead' Web Framework for NodeFastify has been around for quite some time and may be worth another look if you're using something else. 3.9.2 just came out this week.


💻 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.


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.