#375 — February 11, 2021

Read on the Web

Node Weekly

How to Generate Thumbnails using AWS Lambda from Videos Uploaded to S3 — A perfect pairing of serverless and Node. This thorough walkthrough covers using Node to tie together processing new videos uploaded to an S3 bucket, running FFmpeg to generate thumbnails, and then upload those back to S3.

norrapscm

systeminformation: A System Information Library for Node — If you want to query what environment your Node program is running in, this is for you. Get info about audio devices, Bluetooth devices, printers, USB, CPU, architecture, and a lot more.

Sebastian Hildebrandt

Node.js Garbage Collection: Heap Statistics Magic Dashboard — Garbage collection can have a big impact on the performance of your app. With AppSignal, you'll discover performance issues before your customers experience them. Heap Statistics Magic dashboard will help you spot & fix memory leaks with ease.

AppSignal sponsor

Node v14.15.5, v12.20.2 and v10.23.3 (LTS) Released — Brings npm up to version 6.14.11 and backports a security fix. v12.20.2 and v10.23.3 provide similar for their respective branches.

Node.js Project

How a Researcher Hacked Over 35 Tech Firms in Novel Supply Chain Attack — A white-hat researcher managed to hack systems of over 35 major tech companies by reusing internal-only package names on public repositories. These ‘counterfeit’ projects were then preferred and downloaded by tools like npm, PyPI, and RubyGems.

Ax Sharma

Quick Bits

💻 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 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

📗 Tutorials and Stories

Catching Up with the Package Lockfile Changes in npm v7 — Last week we mentioned that npm v7 is now GA but what effective changes do the updates to lock files result in?

Nitay Neeman

An Intro to KafkaJS: A Modern Kafka Client for NodeApache Kafka is a powerful open-source distributed event streaming system increasingly finding itself at the heart of large scale applications. This is an accessible tutorial to working with it from Node, in this case to create a Slack bot that notifies you whenever an npm package gets updated.

Tommy Brunn

Combining Node, REST, NoSQL & Serverless | Try Astra DBaaS, Free to 5GB — Connect your Node/Express web service, CLI or app to an auto generated REST or GraphQL data access API for a NoSQL DBaaS.

DataStax Astra sponsor

How to Create a Custom GitHub Action with Node — Extensive notes (and a 15-minute screencast) on building your own custom action for GitHub’s Actions CI/CD system – specifically in this case to give thanks on new pull requests.

Colby Fayock

Right Sizing PM2 Clusters — If you use PM2 to manage clusters of Node processes, this experiment may be of interest.

Victor Adossi

🛠 Code and Tools

supported by Okta

SQL Formatter: A Pretty Printer for SQL Queries — A library (and CLI tool) for pretty printing SQL queries by creative use of whitespace. Supports numerous SQL dialects from SQL:2011 to dialects used by Postgres, DB2, Oracle, and more. There’s also an online demo.

ZeroTurnaround

Purest 4.0: A REST API Client Library — A library that first appeared seven years ago and which has now got a new major release. Check out the examples to see if you like this fluent-style API.

simo

Maximize Speed, Control, and Security for Continuous Deployment with Buildkite

Buildkite sponsor

capture-website 1.3: Capture Screenshots of Websites — A high-level Puppeteer wrapper to make it easy to capture screenshots of websites from Node or the command-line. This week’s release adds an inset option to increase or decrease the size of a bounding box around the screenshot.

Sindre Sorhus

allserver: Multi-Protocol Simple RPC Server and Client“Think HTTP, gRPC, GraphQL, WebSockets, Lambda, inter-process, unix sockets, etc Remote Procedure Calls using exactly the same client and server code.”

Vasyl Boroviak

saml2-js 2.1.0: Security Assertion Markup Language (SAML) Made Easier — Abstracts away the complexities of the SAML protocol behind an easy to use interface.

Clever

Mercurius 7.0: Implement GraphQL Servers and Gateways with Fastify

Matteo Collina and contributors

Marked 2.0: A Fast Markdown Parser and Compiler — Works in the browser or server-side. Demo here.

Christopher Jeffrey