#​542 — July 30, 2024

Read on the Web

Together with  Sentry logo
Node.js Weekly

Node.js Adds Experimental Support for TypeScript — In this pull request, Node merged an experimental ability to transpile TypeScript into JavaScript, ultimately letting Node directly ‘run TypeScript’. However, no type checking is performed and, as Matt Pocock explains, experimental and TypeScript-only features are a no-no. Perhaps think of it as less ‘running TypeScript’ and more ‘able to tolerate most of TypeScript’?

Sarah Gooding (Socket)

Debugging Your Node.js Project with Sentry — Using a demo Node.js app, learn the basics of monitoring and debugging any Node.js project with Sentry. Watch the step-by-step workshop on-demand.

Sentry sponsor

Node v20.16.0 (LTS) Released — If the recent bugs in the ‘Latest’ release branch have put you off, the trusty LTS releases are for you. A small-ish release, but Node 20 gains process.getBuiltinModule and Blob#bytes.

Marco Ippolito

😍 Regarding last week's issues with v20.5.0, the Node team has improved its testing processes to help avoid such problems in the future. No story to link to; I just follow the Node team's livestreams and they were talking about it. :-)

How to Create Dockerfiles with Generative AI — The folks at Docker look at the potential for using ChatGPT to create Dockerfiles for Node projects.

Docker Labs

Benchmarking AWS Lambda Cold Starts Across JavaScript Runtimes — It’s from the Deno team so it may not surprise you that Deno was found to be fastest, but they share their methodology and results for Deno, Node, Bun and AWS’s managed Node runtime and, frankly, Node mostly did very well too.

Zinkovsky and Jiang (Deno)

📄 Working with PostgreSQL's Row Level Security in Node.js Kristian Dupont

📄 Highlights from Git 2.46 Taylor Blau (GitHub)

🛠 Code & Tools

Announcing TypeScript 5.6 Beta — The first beta of the next major version of TypeScript is out. Region-prioritized diagnostics (VS Code only, for now) is a particularly interesting addition.

Daniel Rosenwasser (Microsoft)

PythonMonkey: Embed a JavaScript Engine into the Python VM — If you need to use Python but also want to run JS, this gives you a way to do it with Mozilla’s SpiderMonkey engine. It’s not V8 or Node based, but supports the Node.js and NPM-compatible CommonJS module system.

Distributive Corp.

WarpStream: An 80% Cheaper Drop-In Kafka Replacement — Kafka without the hassle. No inter-AZ networking costs. Completely stateless. No disks to manage. Infinitely scalable.

WarpStream sponsor

node-fluent-ffmpeg: A Fluent API for Invoking FFmpeg — Abstracts the complex command-line usage of the popular FFmpeg media transcoder into a fluent Node API.

Various Contributors

Handbrake-JS 7.1: Control Video Encoding and Transcoding from Node — Sticking to the theme of media transcoding, this is an interface to the popular, open source Handbrake video transcoding tool.

Lloyd Brookes