#​516 — January 9, 2024

Read on the Web

When ‘Everything’ Becomes Too Much: Fresh npm Package Chaos — While many of us were taking a break, some folks published an ‘

1
everything

‘ package that depended upon all public npm packages, resulting in millions of transitive dependencies. This caused.. some problems. One of the folks involved also shared the story from behind the scenes.

Feross Aboukhadijeh (Socket)

The State of Benchmarking in Node.js — While Node has always been fast (thanks largely to its V8 underpinnings), there’s a renewed focus on performance in the face of benchmarks and claims from alternatives like Deno and Bun. Lars looks at the ecosystem of benchmarking options in the space.

Lars Kappert

⚡️ Talking of speed, Node performance expert Yagiz Nizipli shares a look at making improvements to Node’s loader performance.

New TypeScript Courses: Take the Learning Path — Join Mike North (Tech Lead at Stripe) for this series of brand new TypeScript courses. You’ll get hands-on practice covering both the fundamentals and advanced features like utility types and advanced generics. Learn best practices to configure and evolve your TS codebase!

Frontend Masters sponsor

MikroORM 6: The Polished, Flexible ORM — After over a year in development, MikroORM 6 is stable. It’s a TypeScript-based ORM, based around Data Mapper, Unit of Work and Identity Map patterns, with support for MongoDB, MySQL, Postgres, and SQLite. v6 adds strict partial loading, cursor-based pagination, reworked support for raw SQL fragments, an all-new Getting Started guide, plus many other DX-focused improvements.

Martin Adámek

IN BRIEF:

Learn How to Convert Your Cron into a Schedule with Temporal — Converting Cron jobs to Temporal Schedules in the UI of your choice is very simple. See an example in our TypeScript SDK.

Temporal Technologies sponsor

The Complete Playwright Cheatsheet — Covers the basic operations involved in automating Chromium, Firefox or WebKit from Node. When we linked to the author’s Puppeteer cheatsheet, we wondered when the Playwright one might arrive. Now, it seems 🙂

Mohan Ganesan

🛠 Code & Tools

Dependency Cruiser 16.0: A Way to Visualize Dependencies — If you want a look at the output without running it for yourself, there’s a whole page of graphs for popular, real world projects including Chalk and Yarn. Might be an option if you’re looking to create a fun poster for your office wall..? 😆

Sander Verweij

Node Boilerplate 2.0: A Skeleton for Express Microservices — There’s a few projects like this, but Santosh has clearly put effort into maintaining this one, which provides a quick, opinionated starting point for building Web services with Node, Express, TypeScript, along with some initial tests too.

Santosh Shinde

Nodemon 3: Monitor and Restart a Node App on Changes — A long-standing, classic tool: “Swap nodemon instead of node to run your code, and now your process will automatically restart when your code changes.” Remember, though, that Node now has a built in

1
--watch

mechanism which may be enough for your needs.

Remy Sharp

Oxlint: A New High Performance JS Linter — Designed to catch erroneous or useless code in zero-config fashion, Oxlint pitches itself against ESLint in terms of performance (claiming to be ’50-100 times faster’) while conceding it’s not a full replacement.

Boshen

🕵️ Secretlint: A Linter to Prevent Committing Credentials — While many services, including GitHub, now detect the accidental sharing of secrets and credentials and even revoke those tokens, it’s better if they’re not in your repo in the first place. This can be used on an adhoc basis or in your CI.

Secretlint

jsvu 2.2: JavaScript (Engine) Version Updater — A tool for installing new JavaScript engines (on macOS, Linux and Windows) without compiling them from source.

Google

c8 v9.0: Output Coverage Reports using Node’s Built in Coverage — Code-coverage using Node’s built-in functionality, that’s compatible with Istanbul’s reporters.

Benjamin E. Coe

📰 Classifieds

🐘 Learn how Epsio’s
Streaming SQL Engine boosts the performance of your most complex queries! Learn more.

👉 Free Temporal 101 & 102 Courses in TypeScript: Learn Temporal’s open source key concepts and best practices with our self-paced training.


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *