npm docs
Web 浏览器中的包的文档可能
概要
npm docs [<pkgname> [<pkgname> ...]]
alias: home
描述
此命令尝试猜测包文档 URL 的可能位置,然后尝试使用 --browser
配置参数打开它。您可以一次传递多个包名称。如果没有提供包名,它将在当前文件夹中搜索 package.json
并使用 name
属性。
配置
browser
- 默认值:OS X:
"open"
,Windows:"start"
,其他:"xdg-open"
- 类型:null、布尔值或字符串
npm 命令调用以打开网站的浏览器。
设置为 false
以抑制浏览器行为,而是将 url 打印到终端。
ZFKWdd3TycsjUapVBXLvxF0rDYyPLgYlSQVukji9/bRzk0+3SxHubAP/61YPlqqD1YbuRUDzzRec6yqDT+9xANer+z1w476zzoES8pXGk8Q=
registry
- Jo9YyMATQgc1FiySMtnVB7dq8l+1jVnpSvlj10Yu+tGb9ebRFPqDnZKf/pum9/uMmqeJieA5VgdRavSVSeTCia9Xl5DJP7Jjfdnu4rXR/lj+/KNbrvjmWvnNJ7u8+/ZAq10CumDZI6GcWsTOrD3+o/BlfQgJFYV40sXxHUHIt8A=
hYQ/LDDVu6WMgobClOZy0DheSadLexaLfr0eSvR/UhY=
workspace
- Jo9YyMATQgc1FiySMtnVB4YMB8db7UZN5DIyxKHPry2OmSdp+K3HOJ3BdgWQJYt6tCGvlPdqm/XRnvUydHufmqhIn3jdcfH1Kn7xmtkOnok=
mxwwxmyxfRa/NX5mOTOp/a4pbtoEncEIbcu/bItobyuIXQcms5LhzXDAPZgtFVUAWQV7iHbgNij2yBtG7f0VhSoywJSPEjoJHIrci/HPLjmtfh4imWfDC5UHFL2GHZY0ss32EUEo730we1vYXIcZtblB9YA4BtEoHbMRw22RUeP65aDRMLidjPpjUhvqEYsN
BoYudhX6P4R1Soh/jgAruWdla2jYU6xac7my5c5CKT3I/QY84Lv+gbKiqsys346a
- cU7jI/u+nZ6FiyGSMF84fwc8uqBPenfpfpU5EDAssdJsRYv0Wpcmk6KnorwqXaIjJcHDqpXKV9FK+ctwsWVS27n+gIzaTMKuPizZgazJZ/OPnN3hqRWu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