npm by the numbers

January 16, 2024 By Mark Otto 0

Node.js Weekly

npm in Review: A Retrospective in Numbers — From Socket comes a look at the past year from the perspective of the npm registry, focused largely on statistics (2.5 million live packages!), including download numbers, popular packages, as well as some ‘quirky facts’ like the package with the most maintainers (554, if you’re wondering.)

Philipp Burckhardt (Socket)

Redis With Wings — Dragonfly is a simple, performant, and cost-efficient in-memory data store, perfect as a cache or database for your high-performance Node apps. Dragonfly is fully compatible with Redis APIs but without the Redis management complexity.

Dragonfly

Node v20.11.0 (LTS) Released — Meanwhile ‘the version of Node you should probably be using’ receives a variety of tweaks, with perhaps the most notable being the addition of import.meta.dirname and import.meta.filename which fulfil the same role as __dirname and __filename, but for our new, shiny ES module-based world.

Ulises Gascón

🛠 Code & Tools

Tinybench: A Tiny, Simple Benchmarking Library — No dependencies, but uses whatever precise timing capabilities are available (e.g. process.hrtime or peformance.now). You can then benchmark whatever functions you want, specify how long or how many times to benchmark for, and get a variety of stats in return.

Tinylibs

⌨️🐈  wacat: Tests Your Webapp Against ‘Cat Chaos’ — Uses a ‘cat walking across your keyboard’ style approach to tormenting your webapps with random clicks and form submissions. (Fear not, no real cats are involved in the running of this tool.)

Mika Tapanainen