Unflagged TypeScript support is just around the corner

January 7, 2025 By Mark Otto 0

Happy New Year! We’re now back every week all the way till mid February, so if you’ve got anything you want to submit for inclusion in a future issue, now’s a great time to hit Reply and let me know πŸ™‚
__
Peter Cooper

Node.js Weekly

IN BRIEF:

  • The Node project will soon be issuing a CVE for ‘end of life’ Node.js versions, essentially as an official way to notify users of Node 16 and below that they are very much unmaintained and may pose a security risk.

  • As an aside, we learn from the above item that Node 16 is still being downloaded 11 million times a month, despite being EOL for over a year.

  • πŸ“Ί A few months ago, Node.js creator Ryan Dahl gave a talk at GOTO Chicago 2024 about Deno 2, covering Deno’s differences to Node and what Deno 2.0 (and JSR) has to offer JavaScript developers, complete with live demos.

πŸ“„ Build Your Own Site Speed Testing Tool with Puppeteer Henry Price

πŸ“„ A Gentle Introduction to Using a Vector Database – Written for Bun, but the approach taken can be used from Node too. Steve Kinney

πŸ“„ From Scratch to Server: Creating and Hosting a Node App with SVR.JS – SVR.JS is a full featured configurable HTTP(/2) server with built-in security and compression features. SVR.JS

πŸ“„ Shallow Clones vs Structured Clones Phil Nash

πŸ›  Code & Tools

zx 8.3: A Tool for Writing Better Shell Scripts β€” zx is an alternative way to run Node that makes it more useful for shell scripting by offering various niceties like process management, argument handling, and commonly used packages like Chalk. v8.3 makes it possible to iterate over a processes’ output using for await (thanks to Symbol.asyncIterator), plus there are enhancements to using pipes.

Google