Taking flight with Feathers 5
#477 — March 9, 2023
Feathers 5: The API and Real-Time App Framework — Feathers isn’t as well known as Nest or Fastify, say, but it’s a powerful and mature option if you want to spin up a Node CRUD app tied to a database and now it’s “TypeScript all the way down” too (though you can choose to use plain JS, if you prefer). Feather’s creator tells the whole story in this screencast or, if you prefer, you can leap into the quick start guide to see what it’s all about.
David Luecke
The 12 Most Popular Node.js Frameworks in 2023 — The data comes from surveys, GitHub stars, plus some gut feelings, but it’s a well put together summarized list of frameworks right now, from family favorites like Express and Fastify to less expected options like Strapi and Keystone.
Alex Ivanovs
Read This Before Using Node.js VM for Your JavaScript Sandbox — Write and execute custom code that can run within the platform and provide feedback, without exposing yourself to security risks, using Snyk’s guide on covering a JavaScript sandbox with the Node.js VM module.
Snyk sponsor
IN BRIEF:
Node v18.15.0 (LTS) is out including a backport of initial code coverage support to node:test.
A look at creating your own custom error classes by extending Error.
Deno Says: You Don’t Need a Build Step — Of course the Deno folks have an alternative JS runtime to promote, but they make good points. A build step has helped with getting things to run in the browser or to transpile and bundle code elsewhere. But with modern tooling, do we still need a build step?
Andy Jiang (Deno)
Crawling Weather Forecasts with Cypress — Even if you don’t care for the weather, this is a neat code-led demonstration of using the Cypress browser oriented testing tool for performing a variety of productive activities.
Gleb Bahmutov PhD
A Complete Guide to Pino Logging in Node — Pino is a low overhead JSON-driven Node.js structured logging library. Usually the term “complete guide” gets me going “oh, really?” but in this case they deliver.
Better Stack Team
Easy to Use, Full-Stack Monitoring — Use TelemetryHub for flexible and affordable monitoring of your logs, traces, and metrics – all in one place!
TelemetryHub sponsor
Deploying to ECS, Simplified with IaSQL — Shows off using IaSQL, a sort of ‘use SQL to manage infrastructure’ tool, to deploy a basic Express app to Amazon Elastic Container Service.
Mohammad Teimori Pabandi
???? Code & Tools
Ink 4.0: React, but for Building Interactive CLI Apps — Build your command line apps using React-style components. As of v4.0, Ink is now pure ESM, requires React 18, and requires Node 14.16+.
Vadim Demedes
Introducing nsuv: A C++ Wrapper Around libuv — An interesting look at a new project from NodeSource that lets you work with libuv in a safer way from C++. libuv is the library that provides Node with event-driven I/O and timers and this could be useful if interacting with Node at a low level.
Trevor Norris (NodeSource)
Build Reliable Distributed Systems by Using Durable Execution
Temporal Technologies sponsor
Crawlee 3.3: A Web Scraping and Browser Automation Library — Need to crawl/scrape the Web for some reason? This is for you. We featured this when it launched last year and happily it’s continued to be actively developed. Want to get started? There’s a full guide here.
Apify
Civet: It’s Like CoffeeScript for TypeScript — This example alone shows off the power. In a world where build toolchains are the norm, maybe this could take off, but my CoffeeScript experiences of yesteryear give me pause.
Daniel X Moore and contributors
rimraf 4.4: It’s rm -rf for Node.js — Isaac may have invented npm which filled up your hard drive with Node modules, but he also has the solution for deleting directories as quickly as possible from Node.
Isaac Z. Schlueter
NPKILL 0.11
↳ List and remove node_modules directories.
gaxios 5.1
↳ Axios-like interface over node-fetch
Marble.js 4.1
↳ Functional reactive Node.js framework.
Got 12.6
↳ Friendly HTTP request library for Node.
better-sqlite3 8.2
↳ Fast, simple SQLite3 library.
???? Jobs
Software Engineer (Backend) — Join our “kick ass” team. Our software team operates from 17 countries and we’re always looking for more exceptional engineers.
Sticker Mule
Full Stack JavaScript Engineer @ Emerging Cybersecurity Startup — Small team/big results. Fun + flexible + always interesting. Come build our award-winning, all-in-one cybersecurity platform.
Defendify
Find Tech Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired
Seen on Twitter
JetBrains’ Hadi Hariri knows the score. Maybe Twitter could give Feathers a go?