Table of contents
npm-repo
Open package repository page in the browser
Select CLI Version:
Table of contents
Synopsis
npm repo [<pkg>]
Description
This command tries to guess at the likely location of a package's repository URL, and then tries to open it using the --browser
config param. If no package name is provided, it will search for a package.json
in the current folder and use the name
property.
Configuration
browser
- Default: OS X:
"open"
, Windows:"start"
, Others:"xdg-open"
- Type: String
The browser that is called by the npm repo
command to open websites.
See Also
声明:npm 及相关 logo 的版权归 npmjs.com 所有。本站点仅用于 npm 中文文档,与 npmjs.com 没有任何关系。由于译者水平有限,且避免产生误解,条款和政策内容不进行翻译,关于这部分,请移步官网查看最新内容。