#327 — February 27, 2020

Read on the Web

Node Weekly

Source Maps in Node.js — Node.js came out long before the idea of compiling other languages to JavaScript was a popular idea, so it’s never been super easy to observe what’s going on when errors are thrown but you wrote the code in a non JS language. However, Node does now support source maps and here’s how it works.

Benjamin Coe

Ava 3.4: The Popular Node Test Runner — We featured the big 3.0 release last month, but Ava continues to innovate with a new t.try() assertion for trying assertions without necessarily causing a test to fail. This opens up some interesting advanced testing opportunities. There’s support for tests in ES module files too.

AVA

How to Quickly Build a REST API using Node.js and PostgreSQL — In this tutorial, we will explore the steps required to set up the environments and build a REST API using PostgreSQL and Node.js.

EnterpriseDB sponsor

Curveball: A TypeScript-Based Microframework — A Koa-inspired framework but written in TypeScript. Has first class HTTP/2 Push support as well as first class AWS Lambda support, if needed there.

Bad Gateway

npm 6.14 Released — The main addition is support for multiple ‘funding’ entries for package maintainers to demonstrate multiple ways their work can be supported. 6.14.1 followed shortly thereafter to fix a regression.

The npm Blog

Node 14 Likely to Drop Windows 7 Support — This is hardly a big surprise, but just in case it affects you..

Node.js

💻 Jobs

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

Vettery

Node.js Developer at X-Team (Remote) — Work with the world's leading brands, from anywhere. Travel the world while being part of the most energizing community of developers.

X-Team

📚 Tutorials

Understanding and Implementing Rate Limiting in Node — Explores the concept of rate limiting in Node — what it is, how it works, various ways to implement it, and some practical scenarios.

Philip Obosi

A One Stop Shop for Using Postgres from Node.js — This handy resource about using the Postgres database system from Node has been around a while but we’ve never linked to it.

Brian Carlson

Seamlessly Integrate Video into Your Node App — Mux Video is an API-first platform that makes it easy to build beautiful video that streams everywhere.

Mux sponsor

▶  An Introduction to Machine Learning in Node — In a roughly hour long talk, Tamar Stern goes over some machine learning fundamentals, the useful libraries that you can work with when writing an ML server in Node, and more.

Tamar Stern

🛠 Tools, Resources and Libraries

exifr: A Fast, Versatile JS EXIF Reading Library — Exif (EXchangeable Image File Format) is a common metadata format embedded into image and other media files. More here, including examples.

Mike Kovařík

Serialize JavaScript 3.0: Serialize Objects to a Superset of JSON — Why? So you can serialize regular expressions, dates, functions, and (as of this week) Infinity, as well as the usual things JSON can handle.

Yahoo

🛠 GitHub Actions Toolkit: A Toolkit for Building GitHub Actions in Node

Jason Etcovitch

TypeScript 3.8 Released — Introduces support for ES private fields, export * as .., top-level await, and more, all demonstrated in detail in this release post.

Daniel Rosenwasser (Microsoft)

The Ultimate Guide to Container Formats: Decrypting Video Technologies

Bitmovin Inc. sponsor

NodeCG: Create Broadcast Graphics using Node and a Browser — Write complex, dynamic broadcast graphics using the web platform.

NodeCG

Git for Node and the Browser using libgit Compiled to WASM — Naturally, this is a rather experimental idea(!) There is a browser based demo if you’re interested though.

Peter Salomonsen

StormDB: A Tiny, Lightweight, JSON-Based 'Database' — Designed with Node, the browser, or Electron in mind, this is a very simple zero dependency wrapper that lets you use a JavaScript object as a persistent data store. Cute, but maybe not WebScale™ 😄

Tom Programs

   🗓 Upcoming Events

CityJS, March 25-27 — London, UK — A "JavaScript festival across London", organised in-part by London's Node User Group.

React Summit, April 17 — Amsterdam, The Netherlands — A full-day, two-track conference on all things React and boasts being the biggest React specific conference in the world.

International JavaScript Conference, April 20-22 — London, UK — This three day event has a dedicated Node track.

OpenJS World, June 23-24 – Austin, Texas — OpenJS Foundation’s annual event brings together the JavaScript and web ecosystem including Node.js, Electron, AMP and more.