npm-registry-fetch simplifies interacting with the npm registry. It provides a consistent, promise-based interface for fetching data, handling authentication, and managing caching. Designed for both CLI tools and programmatic access, it streamlines tasks like retrieving package metadata, resolving dependencies, and publishing new versions. Utilizing npm-registry-fetch enhances reliability and simplifies development when working with the npm registry ecosystem. It is maintained by the npm team and used in the npm cli.
The npm-registry-fetch package had fluctuating release frequency. Releases were common in 2018, 2020, and 2022, with peaks of 7 versions in August 2018 and 6 in April 2018 and February 2020. Frequency decreased significantly after 2022, with only occasional releases in the past two years, and none last month. The latest version included in the record is 19.0.0 released on July 2025.
NPM package npm-registry-fetch downloads show a general upward trend from March 2024 to July 2025, peaking at over 44 million. August 2025 saw a decrease, and September 2025 downloads are incomplete, reflecting only the first week of the month.