#315 — November 21, 2019

Read on the Web

Node Weekly

▶  Live Coding a Node Feature in 30 Minutes — In just 30 minutes, Anna shows off what’s involved in implementing a basic feature and getting it ready to go into Node core. Yes, it’s technical and she’s been doing this for years, but there’s lots of good advice to pick up here if you plan to follow in her footsteps.

Anna Henningsen

Node.js 12.x Runtime Now Available on AWS Lambda — You can now develop serverless functions on AWS Lambda using a new Node 12 runtime, complete with its more up to date version of V8. Note that Lambda’s 8.10 runtime enters ‘end of life’ next month so it’s time to get upgrading. Also, don’t miss the App Engine news (below) if you’re on Google’s cloud instead.

Eric Johnson (AWS)

Pre Register for the .TECH Domain Black Friday Sale — .TECH is the most definitive domain extension for the tech industry with the likes of Intel, CES and Viacom using it. Get your .TECH domain at 90% off this Black Friday and secure your online tech identity.

.TECH Domains sponsor

Nodemon: Automatically Restart a Node App When Files Are Changed — A development-time tool to monitor for any changes in your app and automatically restart the server. v2.0 has just been released with CPU and memory use improvements and far fewer dependencies.

Remy Sharp

Google App Engine Now Offers a Runtime for Node.js 12 — It’s in beta but it’s a big upgrade if you’re running Node apps on App Engine.

Google Cloud Blog

npm Security Insights API Preview Part 3: Behavioral Analysis — The npm team are working on a new API to provide insights into packages to npm users. One thing it’ll provide is information about how packages behave, such as making network requests or executing processes.

The npm Blog

💻 Jobs

Senior Software Engineer at Getty (Los Angeles, CA) — Build fantastic tools and interfaces at one of the world's most prestigious cultural heritage orgs using Linked-Open-Data, Python, Structured-CMS, Vue.js.

J. Paul Getty Trust

Find a Job Through Vettery — Make a profile, name your salary, and connect with hiring managers from top employers. Vettery is completely free for job seekers.

Vettery

📚 Articles and Tutorials

Natural Language Processing in Node — Python is perhaps more commonly associated with NLP work but if you want to give it a go in Node, there are options. This tutorial covers the natural library.

Jordan Irabor

Working with Node's Stream API — An entry level tutorial but for a concept that many Node developers get stuck on.

Darko Milosevic

A Declarative Way to Cache Postgres Queries in Node — Implementing a cache using interceptors with Slonik, a typed Postgres client library.

Gajus Kuizinas

Managed PostgreSQL by DigitalOcean — Deploy a highly scalable PostgreSQL cluster with no admin overhead.

DigitalOcean sponsor

▶  Turning Web Sites into PDFs with Puppeteer — A very basic 2 minute screencast showing off loading a Web site with Puppeteer and turning it into a PDF.

Coding Shiksha

Writing a Multiplayer Text Adventure Engine In Node: Adding Chat Into Our Game — The final part in a long running series on how to create your own multiplayer text adventure engine in Node using socket.io.

Fernando Doglio

How to Publish a NPM Package via GitHub Actions

Matej Jellus

🛠 Code and Tools

GraphQuill: Real-Time GraphQL API Exploration in VS Code — A way to test GraphQL API endpoints from within VS Code so you don’t have to keep jumping between multiple tools.

OSLabs Beta

7 Libraries to Consider When Building Node CLIs — They cover a few different areas from CLI interfaces to prompts, colored text, and progress indicators.

Yvonnick Frin

Autarky: A Tool to Liberate Disk Space from node_modules — We recently linked to a similar tool called NPKILL which presents a broader interface for the task. Autarky is simpler and lets you specify a maximum folder age and it’ll do the rest.

Pranshu Chittora

Track Node.js Performance Metrics with In-Depth App Monitoring from Datadog

Datadog APM sponsor

Envalid: Environment Variable Validation and Access — Ensure your program only runs when all of its environment dependencies are met.

Aaron Franks

Bitspeak: Turns Hex Strings into Pronouncable 'Words' — I’m really struggling to think of any compelling use for this but the author does a good job of selling it.

Sunshine Cybernetics

GitHub for Mobile — With a promise to “bring collaboration to your small screens”, GitHub’s mobile app is in beta on iOS with a waitlist for a forthcoming Android version.

GitHub

Node v12.13.1 (LTS) Released

Node.js Foundation

npm 6.13.1 Released

The npm Blog