npm Registry Search API

JSON →
library 9.0.1 ·javascript
verified May 27, 2026

libnpmsearch is a Node.js library providing a programmatic API for searching packages within the npm registry and compatible alternative registries. Currently stable at version 9.0.1, it is part of the broader npm CLI ecosystem, benefiting from its active maintenance and continuous integration. The library exclusively utilizes the modern npm search endpoint, explicitly *not* supporting legacy `/-/all` search methods. It differentiates itself by offering detailed search parameters, including sorting by quality, maintenance, and popularity, and integrates seamlessly with `npm-registry-fetch` for robust request configuration, authentication, and caching capabilities. Its release cadence is tied to the npm CLI's development, providing regular updates and bug fixes for modern Node.js environments.

total hits 17
actors 7 distinct systems
last hit 6d ago MetaBot
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇨🇦 Canada · HK · 🇳🇴 Norway · 🇩🇪 Germany