#​464 — November 24, 2022

Read on the Web

Hyperstack: A New Rails-Inspired Node.js Web Framework — I often hear people say they wished Node had a ‘full’ Web framework akin to Ruby on Rails, here’s a fresh attempt to do just that. Tread carefully; the paint is still fresh.

Dotan Nahum

💡 While we like to support new, promising projects, it’s not as if it hasn’t been done before though. AdonisJS and Sails are good options in this space.

Node.js Architecture Pitfalls to AvoidBeware: opinions ahead. It’s a little scattershot but the author, who has worked on numerous production Node.js apps, shares some hard earned wisdom on the use of globals, dependencies, and environment variables.

Nate Anderson

Design & Build APIs from the Ground Up — Join Scott Moss for this fresh video course exploring API design in Node. You’ll learn about ORMs, Prisma, routes and middleware, error handling, authentication, deployment, and more.

Frontend Masters sponsor

Node.js 18.x Runtime Now Available on AWS Lambda — Now that Node 18 the active LTS release, it’s getting supported by all of the major platforms (including Vercel). The AWS SDK for JavaScript has also been upgraded to v3 (here’s why that matters) and there’s added support for ES module resolution via a NODE_PATH env variable.

Suraj Tripathi (AWS)

IN BRIEF:

When your npm package’s name looks too much like another package’s name, there can be problems even if you control both names! Luckily, the author got it sorted out by npm’s support in this case. “Never do anything on npm that you are not 100% sure about” is handy advice 😆

The company behind the popular monorepo-oriented Nx build tool for JavaScript has raised $8.6m in seed funding. Who said there wasn’t money in developer tools? Making monorepos more mainstream in the JavaScript world is the end goal here.

Producing Native ES Modules on Node.js with TypeScript — First appearing in 2021, this handy blog post from JavaScript’s resident doctor has undergone a 2022 update.

Dr. Axel Rauschmayer

Tutorial: Add SSO & Access Control to Your Node.js App

Userfront sponsor

Writing and Organizing Node API Tests The Right Way — The author presents an architecture for writing and organizing unit and integration tests focusing on the REST API use case. Jest, Supertest and Chai make up the testing stack.

Lars Wächter

🛠 Code & Tools

Better SQLite3 8.0: The ‘Fastest and Simplest’ SQLite3 Library — A bold claim but it’s been around for years and has a lot of users, so who are we to argue? It certainly has great docs. v8.0 brings SQLite up to SQLite 3.40.0, drops support for Node 10 and 12, and includes some fixes.

Joshua Wise

tslog 4.0: ‘Beautiful’ Logging with TypeScript Support — Featured packed, fully typed, can do stack traces via the native V8 API, show code frames, and more. Now supports both Node and the browser.

Eugene Terehov

Replace Your Notification Microservice with a SaaS Solution — Integrate with any communication provider. Twilio, Slack, Teams, WhatsApp, Discord, Sparkpost, Sendgrid, Mailgun, Mandrill…

Courier.com sponsor

aoi.js 6.0: String-Based Package to Create Discord Bots — Has a focus on making bots easily customizable by non-developers (akin to mIRC bot scripting back in the day) by way of defining most bot behavior in specially formatted strings rather than JavaScript. GitHub repo.

Akarui Development Team

express-openapi-validator 5.0: Auto-Validate Requests and Responses to an OpenAPI Spec“Simply, install the validator onto your express app, point it to your OpenAPI 3 specification, then define and implement routes the way you prefer.”

Carmine DiMascio

NodeBB 2.6
↳ Node.js based forum software.

Axios 1.2
↳ Long standing promise-based HTTP client API.

resvg-js 2.2
↳ Rust-powered high-performance SVG renderer.

lmdb-js 2.7
↳ Fast, efficient data store wrapper for the LMDB key/value store.

Typegoose 9.13
↳ Define Mongoose models using TypeScript classes.

on-change 4.0.2
↳ Watch an object or array for changes.

💻 Jobs

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.

Hired

Full Stack Engineer (EU Remote or Relocate to Berlin) — We’ve built a product thousands of people love (see Trustpilot if you don’t believe us). We need your help with React, GraphQL & TypeScript.

Feather

🕰 ICYMI (Some older stuff that may catch your eye…)

Microsoft’s Denver Brittain shows us how to get started with MongoDB Atlas and Azure Functions using Node.js.

Here are some ways to smoothly turn a monolithic Node.js codebase into a monorepo, while minimizing disruptions and risks.

Rishabh Rawat runs though some best practices for scaling your Node REST APIs.

This tutorial runs through six steps to create a complete and ‘pain-free’ Node testing environment.

Chimezie Enyinnaya dives into the repository pattern, explores its benefits, and demonstrates how to implement it with TypeScript and Node.js.

Leave a comment

Your email address will not be published. Required fields are marked *