npm-help-search

搜索 npm 帮助文档

选择 CLI 版本:

概要

¥Synopsis

npm help-search <text>

注意:此命令对工作区无感知。

¥Note: This command is unaware of workspaces.

描述

¥Description

此命令将在 npm markdown 文档文件中搜索提供的术语,然后列出结果,按相关性排序。

¥This command will search the npm markdown documentation files for the terms provided, and then list the results, sorted by relevance.

如果只找到一个结果,那么它将显示该帮助主题。

¥If only one result is found, then it will show that help topic.

如果 npm help 的参数不是已知的帮助主题,那么它将调用 help-search。很少需要直接调用此命令。

¥If the argument to npm help is not a known help topic, then it will call help-search. It is rarely if ever necessary to call this command directly.

配置

¥Configuration

long

  • 默认值:false

    ¥Default: false

  • 类型:布尔值

    ¥Type: Boolean

lssearchhelp-search 中显示扩展信息。

¥Show extended information in ls, search, and help-search.

也可以看看

¥See Also

npm 中文网 - 粤ICP备13048890号