npm Registry Hooks API

JSON →
library 11.0.0 ·javascript
verified May 27, 2026

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.

total hits 13
actors 7 distinct systems
last hit 3d ago Googlebot
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

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