mirror of https://github.com/nodejs/node.git
38 lines
816 B
Groff
38 lines
816 B
Groff
.TH "NPM\-REPO" "1" "March 2015" "" ""
|
|
.SH "NAME"
|
|
\fBnpm-repo\fR \- Open package repository page in the browser
|
|
.SH SYNOPSIS
|
|
.P
|
|
.RS 2
|
|
.nf
|
|
npm repo <pkgname>
|
|
npm repo (with no args in a package dir)
|
|
.fi
|
|
.RE
|
|
.SH 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\fR
|
|
config param\. If no package name is provided, it will search for
|
|
a \fBpackage\.json\fR in the current folder and use the \fBname\fR property\.
|
|
.SH CONFIGURATION
|
|
.SS browser
|
|
.RS 0
|
|
.IP \(bu 2
|
|
Default: OS X: \fB"open"\fR, Windows: \fB"start"\fR, Others: \fB"xdg\-open"\fR
|
|
.IP \(bu 2
|
|
Type: String
|
|
|
|
.RE
|
|
.P
|
|
The browser that is called by the \fBnpm repo\fR command to open websites\.
|
|
.SH SEE ALSO
|
|
.RS 0
|
|
.IP \(bu 2
|
|
npm help docs
|
|
.IP \(bu 2
|
|
npm help config
|
|
|
|
.RE
|
|
|