Skip to main content

搜索软件包

可以在 GitHub 上搜索包,并使用搜索限定符缩小结果范围。

谁可以使用此功能?

Anyone can search for packages they have access to.

关于搜索软件包

可以在 GitHub 中全球搜索包,也可以在某个特定组织内搜索包。 有关详细信息,请参阅“关于在GitHub上的搜索”。

数据重用.search.syntax_tips %}

在用户或组织的软件包中搜索

要查找特定用户或组织拥有的包,请使用 userorg 限定符。

限定符示例
user:USERNAME
          [
          **
          `user:codertocat`
          **
          ](https://github.com/search?q=user%3Acodertocat&type=RegistryPackages) 匹配归属于 @codertocat 的包

| org:ORGNAME | ** org:github ** 匹配归属于 GitHub 组织的包

按包的可见性进行过滤

要按包是公共还是专用来筛选搜索,请使用 is 限定符。

限定符示例
is:public
          **is:public angular** 匹配包含单词“angular”的公共包

| is:private| is:private php 匹配含有“php”字样的私有包