#​442 — June 16, 2022

Read on the Web

zx v7.0: Better Script Writing with Node.js — No, not movie scripts, but shell scripts and the like. If writing JavaScript instead of wrestling with bash, Perl or Python sounds better to you, zx can make your life easier. v7.0 is fully rewritten in TypeScript, has an

1
echo

function for printing the output of other scripts,

1
within

for creating new async contexts, and a new interactive REPL mode (behind

1
-i

).

Google

Node.js 16 to Meet an Early Demise (in 2023) — The Node.js team is bringing forward the ‘end of life’ date of Node.js 16 by seven months due to OpenSSL 1.1.1, a fundamental dependency, reaching its own end of support in September 2023. Don’t panic. You’ve got over a year to get to grips with Node.js 18.

Richard Lau

New Fullstack TypeScript Course — Build a full-stack app that generates TypeScript code from data layer to front-end all from a GraphQL schema.

Frontend Masters sponsor

Scaling GraphQL with Redis Consumer Groups — A useful look at some of the architecture of how a SaaS product is horizontally scaling Node-based services on Redis, particularly using streams.

Matthew Krick

How to Scrape eBay Organic Results with Node — eBay probably won’t like it, but it might be legal where you are, and this post mentions the fabulous Selector Gadget, perhaps my longest installed browser extension.

Mikhail Zub

NestJS + Postgres Local Development with Docker Compose

Tom Ray

QUICK BYTES:

  • I have no affiliation with them, but based on recent experiences, give fly.io a try if you want to rapidly get a Node app running on the Web. Fabulous DX and a good free tier. Interesting modern alternative to Heroku. (Render and Railway are also good, but I’ve spent less time with them so far.)

  • Talking of Heroku, you can learn about their new Heroku 22 stack which is based on Ubuntu 22.04. Node.js 14.x, 16.x, and 17.x are supported out of the box.

💻 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

🛠 Code & Tools

Strapi v4.2: The Open-Source Node.js Headless CMS — Strapi has commercially moved somewhat beyond being merely a handy open-source Node project (it even has its own marketplace of plugins now) but it’s still MIT licensed and rocking away on GitHub.

Anastasiia Shpiliak

ow 1.0: Function Argument Validation for Humans — A fluent API to define constraints for function arguments (e.g.

1
ow(input, ow.string.minLength(5))

) and get nice error messages if those validations fail. Now a pure ESM package. GitHub repo.

Sindre Sorhus

Run Node.js Unikernels – Easier Than Containers or Serverless

NanoVMs sponsor

Mercurius 10.0: Implement GraphQL Servers and Gateways with Fastify — Maybe it’s just a side effect of the Fastify 4 release last week, but I’m seeing Fastify mentioned everywhere lately. Mercurius helps you bring GraphQL to Fastify’s typically RESTful party.

Matteo Collina and contributors

cat-names 3.1: Get Popular Cat Names — Do you need access to random cat names in your app? Live a little.

Sindre Sorhus

Node File Trace: A Node.js Dependency Tracing Utility — This less controversial type of NFT (😏) can be used to determine exactly which files are needed for a Node app to run.

Vercel

The Ultimate Developer Toolkit for In-App Chat + Activity Feeds

Stream sponsor

BRIEF RELEASES:

NodeBB 2.2 – Node-based forum software.
ws 8.8 – WebSocket client and server library.
Jasmine 2.4 – Testing framework.
MikroORM 5.2 – Data Mapper ORM for TypeScript.
pnpm 7.2.1 – Smaller, faster package manager.
nodejs-datastore 7.0 – Official client for Google Cloud Datastore.


0 Comments

Leave a Reply

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