npm-help-search

搜索 npm 帮助文档

选择命令行版本:

概要

🌐 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

  • 默认:否
  • 类型:布尔

lssearchhelp-search 中显示扩展信息。

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

也可以看看

🌐 See Also