我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

Searching for packages

You can search for packages on GitHub and narrow the results using search qualifiers.

GitHub 包注册表 可用于 GitHub Free、GitHub Pro、GitHub Team、GitHub Enterprise Cloud 和 GitHub One。 GitHub 包注册表 is not available for private repositories owned by accounts using legacy per-repository plans. 更多信息请参阅“GitHub 的产品”。

本文内容

Anyone can search for packages they have access to.

About searching for packages

You can search for packages globally across all of GitHub, or search for packages within a particular organization. 更多信息请参阅“关于在 GitHub 上搜索”。

提示:

  • 有关可以添加到任何搜索限定符以进一步改善结果的搜索语法列表,请参阅“了解搜索语法”。
  • 对多个字词的搜索词使用引号。 例如,如果要搜索具有标签 "In progress" 的议题,可搜索 label:"in progress"。 搜索不区分大小写。

Searching within a user's or organization's packages

To find packages owned by a certain user or organization, use the user or org qualifier.

限定符 示例
user:USERNAME user:codertocat matches packages owned by @codertocat
org:ORGNAME org:github matches packages owned by the GitHub organization

Filtering by package visibility

To filter your search by whether a package is public or private, use the is qualifier.

限定符 示例
is:public is:public angular matches public packages that contain the word "angular"
is:private is:private php matches private packages that contain the word "php"

问问别人

找不到要找的内容?

联系我们