#​486 — May 16, 2023

Read on the Web

Together with  Memetria
Node.js Weekly

'This Page is Hosted on My Android Phone' — Since it’s been linked on some pretty big sites already, I don’t feel too guilty about linking it here too 😆 This is a link to a blog being hosted from a $180 Android phone that’s running Node.js and it explains how you can repeat the feat for yourself. (If it is down, the same page is hosted here on a more typical server.)

Pinggy

Deopt Explorer: A VS Code Extension to Inspect V8 Trace Log Info — A thorough introduction to a new tool from Microsoft for performing advanced analysis of data coming from the V8 engine’s internals, including CPU profile data, how inline caches operate, deoptimizations, how functions were run (interpreted or compiled) and more. There’s a lot going on here. If you want to jump straight to the extension, it’s here.

Ron Buckton (Microsoft)

Memetria: Secure, Scalable Redis 7 Hosting — The latest Redis features, instrumented and scaled with the tools teams need as they grow.

Memetria sponsor

Reducing the Cost of String Serialization in Node's Core — Is it possible to reduce the cost of string serialization in Node, particularly in the context of URL parsing? Research was done and the answer is.. yes, by quite a lot too. Benchmarks included.

Yagiz Nizipli

IN BRIEF:

Your Jest Tests Might Be Wrong — Is your Jest test suite failing you? You might not be using the testing framework’s full potential, especially when it comes to preventing state leakage between tests.

Jamie Magee

Regular Expressions in JavaScript — Powerful but often misunderstood, many will benefit from this roundup of the potential regexes offer to JavaScript developers.

Adebayo Adams

How to Handle Emojis in Node — A quick look under the covers for anyone who doesn’t understand why ‘😁’.length equals 2 or how characters like emoji are internally represented.

Manuel Spigolon

Why the JavaScript Ecosystem is Delightfully Weird — There are plenty of examples of how JS is weird but Sam focuses on the why. If you’ve been a JS developer for many years you’ll have seen it go through many phases and morph to fit its environment which has resulted in many oddities.

Sam Ruby

Building a Serverless AWS Lambda Function in Node
Bilal Khan

🛠 Code & Tools

Garph 0.5: A Fullstack GraphQL Framework for TypeScript — Full-stack ‘batteries included’ GraphQL APIs without codegen. GitHub repo.

Step CI

sqs-consumer: Build Amazon SQS-Based Apps Without Boilerplate — Build SQS-based (Simple Queue Service) applications without the boilerplate. Just define an async function that handles the SQS message processing. If it’s good enough for the BBC..

BBC

Dynaboard: A Low-Code Web App IDE Made for Developers — Build high performance public and private web apps in a collaborative — full-stack — development environment.

Dynaboard sponsor

htmlparser2 9.0: A 'Fast and Forgiving' HTML and XML Parser — Consumes documents and calls callbacks, but it can generate a DOM as well. There’s a live demo here. Works in both Node and browser.

Felix Böhm

Knip: Find Unused Files, Dependencies and Exports in TypeScript Projects — Being Dutch for “cut” is quite appropriate as Knip can help you trim away things that aren’t being used in your project.

Lars Kappert

eslint-plugin-check-file: Rules for Consistent Filename and Folder Names — Allows you to enforce a consistent naming pattern for file and directory names in projects.

Huan

cRonstrue: Library to Convert cron Expressions into Human Readable Form — The idea is that given something like */5 * * * *, it will return “Every 5 minutes”. No dependencies.

Brady Holt

💻 Jobs

Find Tech Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired