The Node testing framework we were sleeping on

September 22, 2022 By Mark Otto 0

Node.js Weekly

📗  Shell Scripting with Node.js — Axel is too humble to call this an ‘Ultimate Guide’ or the like, but it is. After months digging into the guts of Node, npm, and the technicalities of shell scripting, he’s released a complete book. You can support him by buying it in various useful formats and/or read it online for free. A new resource to bookmark for sure.

Dr. Axel Rauschmayer

Real World Node.js Native Binary Compilation with pkgpkg is a long standing tool for packaging up complete Node apps into distributable executables. Your JavaScript can be compiled into V8 bytecode, making it harder to reverse engineer, too. The author explains how Pulumi uses it, and some issues they encountered.

Daniel Bradley

IN BRIEF:

  • There are likely to be new versions of Node 14.x, 16.x, and 18.x later today or tomorrow to fix a handful of security issues.

  • In case you aren’t getting emails about it from AWS, AWS Lambda is dropping Node.js 12 support, so you might need to get upgrading. Existing functions will continue to run but as of December 14, you will not be able to update them while remaining on the 12.x runtime.

  • WSL users rejoice: You can now run systemd inside WSL, opening up another way to start your Node apps on Windows.

🛠 Code & Tools

Japa: An Alternative Testing Framework for Node — Somehow this skipped our radar recently, so we’re grateful for the team pointing it out to us! Coming from the same team as AdonisJS (a Node Web framework), Japa slides into your existing workflows and has no build tool requirements. You get first-class support for OpenAPI schema driven testing of endpoints, dataset driven tests, and even an official VS Code extension.

AdonisJS Team

 Cheatbeads: A Library for.. Cheating at Chess? — I never thought we’d be supporting cheating at the noblest of games, but Cheatbeads’ can be used for more than that. It converts text into a Morse-esque notation that could be used to, say, deliver a message surreptitiously to a vibrating device.

Alley / Josho

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