#366 — November 26, 2020

Read on the Web

Just for fun we've included a comic strip at the bottom of this issue – enjoy! 😁

Node Weekly

Node v15.3.0 (Current) Released — A variety of relatively minor things this time for the latest version of Node although http.request has gained support for aborting requests with AbortSignal, readline.getPrompt will return the current prompt, and you can cancel DNS queries made by resolver.

Shelley Vohr

Azure Functions Adds Preview-Level Support for Node.js 14 — Azure Functions is Microsoft’s serverless platform. ES modules support is still forthcoming but supposedly not far away. AWS Lambda is still on Node 10 and 12 for now.

Microsoft Azure

AppSignal is Free for OSS & 'For Good' Projects — AppSignal hopes to enable open-source maintainers and other do-gooders to write even better software, and to broaden shoulders for future generations to stand on. On behalf of them and us: thanks for your hard work.

AppSignal sponsor

create-node-cli: CLI to Create New Node CLI Apps — If you work with React, you may have tried Create React App which creates a boilerplate React app to let you get developing ASAP. This is an attempt at a similar idea for Node CLI apps.

Ahmad Awais

Hazelcast's Journey to a High-Performance Node Library — If you’ve not worked in the Java space at all, Hazelcast may be new to you, but it’s a long standing “data grid” that, in many ways, was rather ahead of its time. Naturally, there’s a Node client library but the developers wanted it to be really fast and wrote up how they achieved this here.

Andrey Pechkurov

Node v12.20.0 (LTS) Released — Bringing all the fixes to the modules edition, as Myles said.

Node.js

📗 Tutorials and Stories

▶  Automating My YouTube Uploads Using Node — Since I record a YouTube video once in a blue moon, I had no idea you could automate the process via YouTube’s API. This is a neat 10-minute overview of how one YouTuber went about it including writing a design document of what he wanted to achieve (something you rarely see done in screencasts like this).

QuanticDev

How To Secure Node Apps with a Content Security Policy — CSP is an approach (involving an HTTP header) to provide added protection against cross-site scripting and similar issues. This thorough tutorial covers its use from an example Express app.

Ayooluwa Isaiah

Learn TypeScript: A Pocketguide Tutorial — Type safety is important for building scalable, maintainable apps. This guide covers TypeScript's key features.

Prisma sponsor

Learn How To Use Webhooks by Connecting Node, IFTTT and Twitter — We’ve seen how to automate YouTube with Node (above) but how about getting more generic with the IFTTT (If This Then That) service?

Robbie Cahill

Building a Terminal Chat App with Serverless Redis — This is a bit of fun, but the sort of fun I like when it involves Redis, serverless, and Node. Blessed handles the terminal UI, and Lambda Store the serverless Redis.

Rafael Nunes

Why I Chose Electron.js for My Side Business — The creator of an SVG animation tool shares some quick thoughts. Despite the complaints levelled at Electron, it does let you get going really quickly.

Philip Ardeljan

🛠 Code and Tools

supported by Okta

uvu: A Fast and Lightweight Test Runner — Aimed at both Node and the browser, uvu is for anyone who likes things light. The output is nice too and as of this week’s 0.5.0 release, it has native ES module support too.

Luke Edwards

Odiff: A 'Blazing Fast' Pixel-by-Pixel Image Diffing Tool — Claims to provide results in milliseconds. The API, which you can use via CLI or Node, supports PNG, JPG, and BMP, including cross-file comparisons.

Dmitriy Kovalenko

Scout APM - A Node Developer’s Best Friend. Try Free for 14 Days

Scout APM sponsor

Node-RED: Low Code Programming for Event Driven Apps — Node-RED is a JavaScript-powered ‘low code’ visual programming environment frequently used for hardware/IoT use cases. It continues to get frequent updates and its creator just got a promotion so that’s fantastic too.

OpenJS Foundation and contributors

Node Archiver: A Streaming Interface for Archive Generation — Has out of the box support for tar and zip archives, but others can be added. GitHub repo.

Chris Talkington et al.

ni: Use The Right Package Manager — If you use multiple package managers (npm, yarm, and pnpm, say) on different projects, this utility will detect which one is used on the current project from your lock file then runs the corresponding commands.

Anthony Fu

💻 Jobs

Node.js Developer at X-Team (Remote) — Join the most energizing community for developers and work on projects for Riot Games, FOX, Sony, Coinbase, and more.

X-Team

Find Your Next Job Through Vettery — Create a profile on Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers.

Vettery

🤪 A comic aside..

Thanks to CommitStrip for kindly allowing us to run this in Node Weekly. It tickled me and I knew I wanted to share it! 😂