require(esm) makes it to LTS

December 10, 2024 By Mark Otto 0

šŸŽ„ The Node world is experiencing a post-Thanksgiving interfestal lull, so this issue includes a few items we overlooked earlier this year. Next week brings our usual annual roundup, though, so keep your eyes peeled for that before the festive break šŸ™‚
__
Peter Cooper, your editor

Node.js Weekly

Memetria K/V: High-Performance Key-Value Hosting ā€” Boost your Node.js apps with Memetria K/V, providing portable, easy-to-use hosting for Redis OSS and Valkey. Scale your applications with ease and achieve high performance. Includes detailed analytics and large key memory tracking.

Memetria

Implementing Filtered Semantic Search Using pgvector and JS ā€” If you need something more sophisticated than keyword search, a semantic approach based upon the meanings of words/queries compared using vector embeddings offers a big step up. Luckily, there are some Postgres extensions that make building such things quite simple..

Timescale Team

šŸ“„ An Introduction to Database Migrations with Drizzle ORM Adam Rackis

šŸ“„ Taking Regular Screenshots of My Website ā€“ A nifty robust approach using Playwright and GitHub Actions. Alex Chan

šŸ“„ Building Your Own npm create Package ā€“ You’ll have seen various scaffolding tools using this technique. (A Different) Alex Chan

šŸ“„ I Like Makefiles ā€“ I also use this approach to help me organize the various shell incarnations I need for each project Iā€™m working on. Sebastian Witowski

šŸ“„ Requesting Camera and Microphone Permissions in an Electron App Farhan CK

šŸ“ŗ The V8 JavaScript Engine: Let’s Read The Code Ants Are Everywhere

šŸ›  Code & Tools

šŸ“° Classifieds

šŸšØ Catch flaky tests before they break your build! Learn to flag unreliable tests early and keep your CI/CD pipeline
running smoothly.


šŸ“¬ Hookdeck: A serverless queue to reliably send, receive, transform, filter, and route events across your event-driven apps.

  • Fastify 4.29 ā€“ An update to the 4.x branch of the fast, low overhead Node.js web framework. Note that v5.1 remains the absolute latest version, however.

  • better-sqlite 11.7 ā€“ Neat way to use SQLite from Node and Electron. SQLite is bumped up to v3.47.2.

  • ExpressoTS 3.0 ā€“ TypeScript framework for server-side apps.

  • Piscina 4.8 ā€“ Efficient worker thread pool implementation.

  • pnpm 9.15 ā€“ The alternative, efficient package manager.

  • node-cron 3.3 ā€“ Run functions / commands on a schedule.

  • AlaSQL.js 4.6 ā€“ Isomorphic JavaScript SQL database.