Expand description
npm registry client.
Provides access to the npm registry via:
- Package metadata API (https://registry.npmjs.org/{package}) for version lookups
- Search API (https://registry.npmjs.org/-/v1/search) for package search
All HTTP requests are cached aggressively using ETag/Last-Modified headers.
Structs§
- NpmRegistry
- Client for interacting with the npm registry.
Constants§
- NPMJS_
URL - Base URL for package pages on npmjs.com
Functions§
- package_
url - Returns the URL for a package’s page on npmjs.com.