node/deps/npm/man/man1/npm-repo.1

38 lines
814 B
Groff
Raw Normal View History

.TH "NPM\-REPO" "1" "May 2015" "" ""
2014-01-07 09:02:07 +08:00
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-repo\fR \- Open package repository page in the browser
.SH SYNOPSIS
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
2014-01-07 09:02:07 +08:00
npm repo <pkgname>
npm repo (with no args in a package dir)
2014-11-05 07:08:12 +08:00
.fi
2014-09-25 05:41:07 +08:00
.RE
.SH DESCRIPTION
.P
This command tries to guess at the likely location of a package's
2014-01-07 09:02:07 +08:00
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\.
2014-09-25 05:41:07 +08:00
.SH CONFIGURATION
.SS browser
.RS 0
.IP \(bu 2
2014-01-07 09:02:07 +08:00
Default: OS X: \fB"open"\fR, Windows: \fB"start"\fR, Others: \fB"xdg\-open"\fR
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-01-07 09:02:07 +08:00
Type: String
2014-09-25 05:41:07 +08:00
.RE
2014-01-07 09:02:07 +08:00
.P
The browser that is called by the \fBnpm repo\fR command to open websites\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
2014-01-07 09:02:07 +08:00
npm help docs
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-01-07 09:02:07 +08:00
npm help config
2014-09-25 05:41:07 +08:00
.RE
2014-01-07 09:02:07 +08:00