Programmatic npm Publish API
JSON →libnpmpublish provides the programmatic interface used internally by the npm CLI for publishing and unpublishing packages to a configured registry. As of the provided metadata, its stable version is 11.1.3, making it a current and actively maintained component within the broader npm ecosystem. The library is typically released as part of the npm CLI monorepo, suggesting a consistent and frequent release cadence aligned with the CLI's development. It is a critical tool for automating package lifecycle operations in Node.js environments, abstracting the complexities of package tarball creation, manifest handling, registry communication, and authentication. Its key differentiator is being the official, low-level API that ensures full compatibility with npm's internal logic and registry interaction protocols, making it the canonical choice for developers building tools that interact directly with the npm registry.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · HK · 🇳🇴 Norway · 🇩🇪 Germany