{ "opencollection": "1.0.0", "info": { "name": "npm Hooks Downloads Packages API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Packages", "type": "folder" }, "items": [ { "info": { "name": "Get a package document (packument)", "type": "http" }, "http": { "method": "GET", "url": "https://registry.npmjs.org/:package", "params": [ { "name": "package", "value": "", "type": "path", "description": "The name of the package. For scoped packages, use URL encoding (e.g., @scope%2Fpackage)." } ] }, "docs": "Retrieves the full package document (packument) for a given package name. The packument includes all published versions, dist-tags, maintainers, repository information, and README content. For scoped packages, the package name should be URL-encoded (e.g., @scope%2Fpackage)." }, { "info": { "name": "Get a specific package version", "type": "http" }, "http": { "method": "GET", "url": "https://registry.npmjs.org/:package/:version", "params": [ { "name": "package", "value": "", "type": "path", "description": "The name of the package. For scoped packages, use URL encoding (e.g., @scope%2Fpackage)." }, { "name": "version", "value": "", "type": "path", "description": "A valid semver version string, or the literal string \"latest\" to resolve the current latest dist-tag." } ] }, "docs": "Retrieves metadata for a specific version of a package. The version can be a valid semver string or the literal string \"latest\" to retrieve the version pointed to by the latest dist-tag. Returns the version-specific manifest including dependencies, scripts, and distribution information." } ] } ], "bundled": true }