#426 — February 24, 2022
😔 It’s a difficult day for the world, and as such our thoughts are with everyone affected by events currently taking place in Europe.
Peter Cooper — Editor
Node v17.6.0 (Current) Released — Adds experimental support for importing ES modules over HTTPS (behind a flag, for now) – Hemanth HM has a video on Twitter showing off this feature. npm gets bumped up to 8.5, and lots of little bug fixes as usual.
Caxa: Package Node Apps Into Executable Binaries — If you want to create single executable versions of Node apps, there have been several options over the years, including Vercel’s pkg or nexe. Caxa is a new opinionated alternative that has a superbly thorough README covering exactly how it works and how it compares to pkg and nexe.
Secure Redis Hosting from RedisGreen — The latest Redis features, instrumented and scaled with the tools teams need as they grow.
How to Fix Security Vulnerabilities with npm Overrides — Overrides in your package.json file let you replace a package in your dependency tree with another version of your choice, which may be necessary to work around versions of dependencies with known security issues.
Ayşegül Yönet (Microsoft)
Next.js 12.1 Released — The popular React framework introduces a beta version of on-demand incremental static regeneration (ISR), now automatically configures Jest for you, and can create smaller, more efficient ‘standalone’ builds of your app for production deployment.
Over on Twitter, Simon Plenderleith shows off a handy tip for cancelling an async operation using Node’s new AbortSignal API.
A list of 25 potential security vulnerabilities your Node apps may need to be hardened against.
Here’s a video showing off ▶️ some of what’s new in Playwright 1.19 – the popular browser control library.
Senior Backend Developer — Are you looking to level up your skills and work on a wide variety of applications and technologies? Look no further.
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.
▶ A 3.5 Hour Nest.js Course for Beginners — Nest.js is a popular framework for building backend apps and APIs with Node and this extensive screencast walks through building your own REST API with it, complete with auth and database.
How to Run Every Node.js Version on AWS Lambda — Node.js has been a first class platform on AWS’s serverless platform from day one, but the versions you can (easily) use have been limited to a subset. Everynode, however, provides a way to use any version of Node on AWS Lambda from v11 upwards.
Tomasz Janczuk (Fusebit)
A Complete Guide to Working with CSV Files in Node — Looks at how to approach managing CSV files in Node, plus how helpful packages (like csv-parser) can help in that regard.
Monorepos Explained — A new site that rounds up pretty much anything you need to know about monorepos, and the tools to build them.
🛠 Code & Tools
pm2 5.2 Released: The Node Production Process Manager — A very mature and widely used process manager that includes a load balancer for keeping Node apps alive forever – pm2 continues to remain a fundamental part of the Node ecosystem.
Official MongoDB NodeJS Driver v4.4 — Has a few new auth and KMS related features.
MongoDB Node.js Team
Couchnode 4.0: The Official Couchbase Node.js Client Library
AutoCannon 7.7: A Fast HTTP/1.1 Benchmarking Tool