选择命令行版本:
🌐 Synopsis
npm help <term> [<terms..>]alias: hlep
注意:此命令不支持工作区。
🌐 Note: This command is unaware of workspaces.
🌐 Description
如果提供了主题,则显示相应的文档页面。
🌐 If supplied a topic, then show the appropriate documentation page.
如果主题不存在,或者提供了多个术语,那么 npm 将运行 help-search 命令来查找匹配项。请注意,如果 help-search 找到一个单独的主题,它将对该主题运行 help,因此唯一匹配相当于指定一个主题名称。
🌐 If the topic does not exist, or if multiple terms are provided, then npm will run the help-search command to find a match. Note that, if help-search finds a single subject, then it will run help on that topic, so unique matches are equivalent to specifying a topic name.
🌐 Configuration
viewer用于查看帮助内容的程序。
🌐 The program to use to view help content.
设置为 "browser" 以在默认的网页浏览器中查看 HTML 帮助内容。
🌐 Set to "browser" to view html help content in the default web browser.
🌐 See Also