Should Node.js support Web Workers?


#​444 — June 30, 2022

Read on the Web

Working with the File System from Node.js — Dr. Axel seems to be on a bit of a Node kick lately and comes back this week with a particularly deep dive on all things related to working with text files from Node, from simple reading and writing operations to streams, buffers, and directory manipulation.

Dr. Axel Rauschmayer

Should Node.js Directly Support Web Workers?Web Workers provide a way for JavaScript in the browser to run on background threads, taking the heat off the main thread. Browsers support them, Deno supports them, and while Node has Worker Threads, Sindre argues Node should align with the broader standard.

Sindre Sorhus

Free Activity Feeds & Chat APIs for Qualifying Teams — Unlock enterprise-grade features, functions, and UI components completely free for your startup or side project with the Maker Account from Stream.

Stream sponsor

Highlights from OpenJS World 2022 — OpenJS World took place a few weeks ago in Austin, Texas and in this post Marian covers some of the talking points, top talks, and what made the event special. There’s a YouTube playlist of over 50 talks from the event, with some highlights here (note the audio is very quiet on some of them):

⭐️ Debugging Your Way Through a Node.js Upgrade with Bethany Griggs. (A lot of very useful tips and tactics in here.)

Making Fetch Happen with Ethan Arrowood.

Writing a Compiler in Node.js using Streams with Jarrod Connolly.

Rust Native Modules with Node-API with Jean Burellier.

A Fastify Tale of Shapes with Matteo Collina.

Marian Villa (NodeSource)

Prisma 4.0 Released: The Next Gen ORM — No official blog post yet but plenty to see here, plus there’s a What’s New in Prisma 4.0 talk coming later today, and an upgrade guide.

Prisma

Redis 7.0 Now Available on RedisGreen

RedisGreen sponsor

QUICK BYTES:

Node.js has some security releases on the horizon (around July 5) for the 14.x, 16.x, and 18.x release lines to tackle three medium severity issues and two high severity ones. We’ll bring you up to speed in next week’s issue.

A developer frustrated with ways to search npm packages has come up with some ideas to improve things.

Node developers on Reddit tackled the question of whether MongoDB is as popular in industry as it is in tutorials and the responses were.. interesting 😏

From the folks behind the State of JavaScript and State of CSS surveys comes State of GraphQL.

Node.js came top of the latest Stack Overflow survey’s list of most popular Web technologies, just pipping React to the post.

🛠 Code & Tools

Serverless-Express 4.9: Run Existing Frameworks on AWS Lambda or Azure Functions — The idea is that you can build HTTP APIs in the usual way on top of Express, Koa, Hapi or whatever, and this provides the wrapper necessary to let them run on AWS Lambda or Azure Functions.

Vendia Inc

node-mbus: Node Bindings to libmbus — A curious use case here. libmbus is used to communicate over the ‘meter bus’ protocol used by various utility (gas, electricity, etc.) meters. I have no idea how it works, but a homemade Node-powered smart meter would be pretty cool.

Ingo Fischer

QuickReader: A High Performance Stream Reader for Browser and Node — The idea is you define the exact bits and pieces you need up front and grab them from the stream on the fly.

EtherDream

Debug Node.js Apps Without Stopping Them in Prod. Try Rookout Free Today

Rookout sponsor

DeploySentinel: A New Tool for Debugging Flaky Cypress Tests — It’s new and behind an email wall for now, but enough of a preview is shown here that it may be of interest to some.

Deploy Sentinel

SQSLite: A Lightweight Module for Integration Testing AWS SQS — Jenny gave a talk at OpenJS World 2022 about how and why she built this.

Jenny Eckstein

lru-cache 7.12.0: A Least Recently Used Cache for Node

Isaac Z. Schlueter and Contributors

⚡️ BRIEF RELEASES:

Fastify 4.2 – Fast, low overhead web framework.
Kafka.js 2.1 – Modern Apache Kafka client for Node.
pnpm 7.4 – Fast, space efficient package manager.
ioredis 5.1 – Performance-focused Redis client library.
Bree 9.1 – Powerful job scheduler.
qs 6.11 – Query string parser with nesting support.
cron-parser 4.5 – Library for parsing crontab directives.
zx 7.0.4 – Google’s tool for better JS shell scripting.
Instauto 9.1.9 – Instagram bot / automation library.

💻 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

Leave a Reply

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

Generated by Feedzy