Comparing Node.js job schedulers

#​469 — January 12, 2023

Read on the Web

A (Final) Node.js Retrospective for 2022 — We devoted an issue to the best Node Weekly items of 2022 recently, but this post from NodeSource takes a broader look back at Node’s fortunes and developments in 2022, including how it topped Stack Overflow’s annual developer survey as the most broadly used ‘Web technology.’

Marian Villa (NodeSource)

Node v18.13.0 (LTS) Released — Node’s LTS release gains File, part of the File API web specification, support for function mocking in the built-in node:test test runner module, support for externally shared dependencies based around JavaScript code (or WASM) as preferred by certain distributions, the Fetch API loses its experimental warning, and more.

Danielle Adams

Add Secure Audit Logging to Your Node App with Pangea — Need a fast, easy, and secure audit log for your Node app? Pangea’s Audit Log API delivers tamperproof audit logging with just a few lines of code. Cryptographically verified with storage, compute, and security managed for you. Get started for free.

Pangea sponsor

A Comparison of Node.js Job Schedulers — If you want to trigger a function to run at a specified interval without using external services, there are a few solutions. This post gives a basic comparison of Agenda, Bull, Bree and Node Cron.

Dead Simple Chat Blog

IN BRIEF:

Evert Pot writes his package.json files in JSON5 format first. He says: “I’d love the NPM project to adopt JSON5. It seems like a great fit.”

Node v19.4.0 (Current) has been released, principally as a bugfix release.

It’s still a way off, but you’ve got eight months to prepare for Node.js 16’s End of Life. (Node 18.13.0, above, is a good option to jump to.)

The 2022 JavaScript Rising Stars is a catalog of the most popular and biggest growing projects of the last year.

🎥  Video Rendering with Node.js and FFmpeg — This takes quite a direct, low dependency route by creating frames one by one and then turning them into a video. If you need something more elaborate, the React-based Remotion may also be of interest.

Casper Kloppenburg

Directus vs Strapi: Comparing Headless CMS Features — Directus is more a ‘data platform’ than a CMS, but still.

Punit Sethi

🤖  Build a Serverless ChatGPT SMS Chatbot with OpenAI and Node — If there’s a way to attach something to a text messaging service, Twilio tends to find it 🙂

Lizzie Siegle (Twilio)

NPM Security: Preventing Supply Chain Attacks

Snyk sponsor

How to Manually Set Table Names in Prisma (and Why You Should)

Will King

🛠 Code & Tools

publint: Lint if a Package is Published Correctly — Lints npm packages for packaging errors, ensuring maximum compatibility across environments. Here are the rules it uses in this process.

Bjorn Lu

Middy 4.1: A ‘Stylish’ Node Middleware Engine for AWS Lambda — Bringing Express-style middleware to the serverless experience. This week’s v4.1 release introduces new middleware to pull configurations into your Lambda handler from AppSync, S3, and DynamoDB.

Middy

Free Website Speed Test: Does Your Site Meet Google’s Core Web Vitals? — Get an in-depth technical analysis of your site and learn how to make it fast. Rank higher in Google & deliver great UX.

DebugBear sponsor

Commander.js 9.5
↳ Command-line interfaces made easy.

node-mysql2 3.0
↳ Fast MySQL driver for Node.

exiftool-vendored.js 19.0
↳ Cross-platform Node.js access to images’ Exif data.

file-type 18.1
↳ Detect the file type of a Buffer, Uint8Array or ArrayBuffer.

ws 8.12
↳ Fast, well-tested WebSocket client and server.

pg-boss 8.3
↳ Postgres-based job queue for Node.

Nock 13.3
↳ HTTP server mocking and expectations library.

💻 Jobs

Backend Engineer, TypeScript (Berlin / Remote) — Thousands of people love our product (see Trustpilot for yourself). Join the team behind it and help us scale. 🚀

Feather

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

WORTH A LOOK:

active-win – Get metadata about the active window on macOS, Windows and Linux.

dnt – Deno to npm package build tool.

js-bson – BSON (binary-encoded JSON) parser for Node and browsers.

Structura.js – Lightweight TypeScript library to create immutable states with a mutable syntax.

Markdoc – Markdown-based Web
authoring framework.