The latest npm registry shenanigans
January 9, 2024
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 |
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 |
🛠 Code & Tools |
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 |
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 |