What to consider when picking a Node.js framework
#407 — September 30, 2021
Guidelines for Choosing a Node.js Framework — Hapi? Koa? Express? Slow down. Unlike a lot of articles, this one doesn’t give you any specific framework suggestions (the list of Node frameworks from awesome-nodejs is suggested for that) but instead arms you with the questions you should be asking when weighing up your potential options.
Node v14.18.0 (LTS) Released — Note that this is the v14 LTS release, so it’s more about stability and backporting some things from v15 and v16, such as Blob, child_process improvements, fsPromises.watch() and more.
Frontend Masters sponsor
Passport 0.5: Simple, Unobtrusive Authentication for Node — A very long standing project in the Node ecosystem acting as authentication middleware for any Express-based app. Amazingly there are now over 500 packages offering extra strategies and options too. GitHub repo.
PostgreSQL 14 has just been released.
NVM for Windows 1.1.8: Node Version Utility for Windows — Node 16.9 introduced corepack, a built-in way to manage package managers, and this release adds support for Windows-based users keen to use NVM for Windows with it until its successor is completed.
🛠 Code & Tools
Threads.js 1.7: Web Workers Meet Worker Threads — A library that provides an abstraction over both Web Workers and worker threads (as implemented in Node) to keep code consistent across Node, browser, and Electron. GitHub repo.
Restify 8.6.0: A Framework for Building REST APIs — At 11 years old, Restify isn’t getting a huge number of updates lately, but new releases of heavily used infrastructure projects are always welcomed.
DOCX 7.1: A Declarative API to Generate .docx Files — .docx files are perhaps more commonly known as modern Microsoft Word documents. This library works on both Node and the browser and there’s a live CodePen demo here, plus a folder of code examples. — GitHub repo.
node-rate-limiter-flexible: Limit Number of Actions by Key and Protect Apps from Brute Force Attacks — Can use Redis, in-process memory, memcached, MongoDB, Postgres or more to count actions in either a single process or distributed environment.
SVGO 2.7: A Node-Based SVG Optimizer — If you’ve worked with SVG (Scalable Vector Graphics) at all, you’ve probably seen they can be filled with all sorts of junk code.. SVGO to the rescue. v2.7.0 adds ES modules support.
Oso: A System for Implementing Authorization — Oso is a set of APIs for defining authorization schemes in a language called Polar. It’s written in Rust, but offers libraries, including this one, for other languages like Node, Python, and Go.
Sr. & Mid-Level Software Developers (Office Optional) — Moz is looking for mid or senior level devs to join its User Services team, responsible for building apps to support invoicing, charging, and subscription-management for Moz products.
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.