Get a single org package
Look up one package by name and type, without listing the whole registry.
-
Know the package’s exact
packageNameandpackageType— if you don’t, run list-org-packages first. -
Call the tool:
get_org_package { org: "your-org", packageType: "npm", packageName: "your-package" } -
Read the result:
{ id, name, packageType, visibility, versionCount }.
Common mistake
Section titled “Common mistake”Passing the wrong packageType for the package’s actual registry (most
often docker vs container) returns a 404 github_api_error, not a
helpful “wrong type” message — GitHub treats each type as a fully separate
namespace under the same name.