atcheck/lsscanner/new_ubuntu/node_modules/npm/man/man1/npm-repo.1

36 lines
775 B
Groff
Raw Normal View History

2019-12-16 18:42:21 +01:00
.TH "NPM\-REPO" "1" "November 2019" "" ""
.SH "NAME"
\fBnpm-repo\fR \- Open package repository page in the browser
.SS Synopsis
.P
.RS 2
.nf
npm repo [<pkg>]
.fi
.RE
.SS Description
.P
This command tries to guess at the likely location of a package's
repository URL, and then tries to open it using the \fB\-\-browser\fP
config param\. If no package name is provided, it will search for
a \fBpackage\.json\fP in the current folder and use the \fBname\fP property\.
.SS Configuration
.SS browser
.RS 0
.IP \(bu 2
Default: OS X: \fB"open"\fP, Windows: \fB"start"\fP, Others: \fB"xdg\-open"\fP
.IP \(bu 2
Type: String
.RE
.P
The browser that is called by the \fBnpm repo\fP command to open websites\.
.SS See Also
.RS 0
.IP \(bu 2
npm help docs
.IP \(bu 2
npm help config
.RE