npm Registry Hooks API
JSON →libnpmhook provides a programmatic API for managing server-side hooks on the npm registry. It enables developers to add, remove, list, and update these hooks, which trigger notifications for various package-related events (e.g., new versions published, packages removed). As of April 2026, the current stable version is 11.12.1 and it is an integral part of the larger npm/cli monorepo, ensuring a consistent and official interface with the npm registry. Releases are frequent, typically aligning with npm CLI updates, providing continuous bug fixes and feature enhancements. Key differentiators include its official backing by npm Inc., direct integration with npm-registry-fetch for consistent network behavior, and support for authentication mechanisms like tokens and OTP for secure operations. The library is built on Node.js and requires specific Node.js versions.
Traffic · last 30 days ↓75% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · HK · 🇳🇴 Norway · 🇩🇪 Germany