#​484 — May 2, 2023

Read on the Web

Together with  Frontend Masters logo
Node.js Weekly

NodeBB v3.0: The Node-Based Forum System — As certain types of social media enter turbulent times, we think forums might be ripe for a comeback.. so it’s great to see the latest major version of the long standing NodeBB make an appearance. v3.0 includes a new default theme, improved push notifications, and the paying down of some serious technical debt. If you’re using NodeBB already, there’s a v3 migration guide, or you can head to the NodeBB community site to get a feel for it.

Julian Lam (NodeBB)

Now Node.js Can Run on Every Major Browser Engine — The actual story is that WebContainers can now run on Safari, iOS and iPadOS much as they could on Firefox or Chrome before, meaning Node.js, too, can run directly within all of those browsers, if you so choose. This post digs into the specific challenges of making Node work in such an environment or, if you prefer, there’s a live demo.

Sylwia Vargas (StackBlitz)

New Course by Kyle Simpson: Practical Problem Solving with Algorithms — Walk through four fun challenges with Kyle in this new video course. You'll learn how to apply algorithms with techniques like recursion, traversals, and acyclic paths, cover memoization to avoid garbage collection, and come away writing more performant code.

Frontend Masters sponsor

Exposing a Rust Library to Node with NAPI-RS — Last week we featured a tutorial on processing CSV data in Rust and passing it to Node, courtesy of the NAPI-RS framework for building Node addons in Rust. This article goes a little further in trying to sell you on the idea of leaning on Rust rather than C or C++ for building Node addons.

John Murray

IN BRIEF:

  • Lizz Parody has a comparison of Node version managers, namely nvm, Volta, and asdf.

  • Vercel has unveiled new storage options for apps running on their platform including a Postgres offering, a Redis compatible key value store, and a Cloudflare-powered file storage solution. Notably, all three are provided by other companies behind the scenes.

  • New-style hosting platform Fly․io has put together a blog post about their love for JavaScript and their (improving) support for hosting JS apps of all types.

What's New in Mongoose 7.1: BigInt Support and createCollections() — An update from the lead maintainer of the popular Mongoose MongoDB object modelling tool.

Valeri Karpov

Getting Started with Fastify for Node.js
Damilola Olatunji

Writing Unit Tests in Node.js Using Jest — Very introductory.
David Ekete and Tomas Fernandez

🛠 Code & Tools

Inquirer.js: Common Terminal UI Input InterfacesInquirer.js is a long standing set of text-based ‘controls’ for accepting text, passwords, offering selections, and a few other such things, for terminal-based apps. Ten years after its initial creation, it has been brought up to 2023 standards, made more efficient, and now supports TypeScript too.

Simon Boudrias

Marked.js 5.0: A Fast Markdown Parser and Compiler — A low level Markdown compiler built for speed and available as a client-side library, server-side library, and even a CLI. v5.0 deprecates some options in favor of using external plugins. Here’s a live demo.

Christopher Jeffrey

Check Out Our Latest Release — Our latest platform updates enable you to uplevel your CI/CD workflows with security, flexibility, and control.

Buildkite sponsor

Axios 1.4: Promise-Based HTTP Client for Browser and Node — A long standing project and still getting frequent updates despite rapidly being seen as the 'jQuery of HTTP request libraries.' If you need it, you’ll know.

Matt Zabriskie

Alfaaz: The Fastest Multilingual Word Counter — We’ll take their.. word for it? 😏 At almost 1 gigabyte per second and with support for CJK texts and Arabic and Urdu alphabets, there’s a lot on offer.

Abdullah Atta

Multi-Line INI Parser: INI Parser That Supports Multiline Strings — Another option for parsing a notoriously non-standardized configuration format.

Puter

ssh2 v1.12: Pure JS SSH2 Client and Server for Node — The README is packed with examples.

Brian White

patch-package 7.0: Fix Broken Node Modules Instantly — Make and keep fixes to npm dependencies on an adhoc basis. Describes itself as a ‘a vital band-aid for those of us living on the bleeding edge’.

David Sheldrick

QUICK RELEASES:

💻 Jobs

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