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

61 lines
1.2 KiB
Groff
Raw Normal View History

.TH "NPM\-DOCS" "1" "May 2015" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-docs\fR \- Docs for a package in a web browser maybe
.SH SYNOPSIS
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
2014-01-20 13:13:20 +08:00
npm docs [<pkgname> [<pkgname> \.\.\.]]
2013-12-26 11:15:23 +08:00
npm docs (with no args in a package dir)
2014-01-20 13:13:20 +08:00
npm home [<pkgname> [<pkgname> \.\.\.]]
2013-12-26 11:15:23 +08:00
npm home (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
documentation URL, and then tries to open it using the \fB\-\-browser\fR
2014-01-20 13:13:20 +08:00
config param\. You can pass multiple package names at once\. 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
2013-05-15 05:37:59 +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
Type: String
2014-09-25 05:41:07 +08:00
.RE
.P
The browser that is called by the \fBnpm docs\fR command to open websites\.
2014-09-25 05:41:07 +08:00
.SS registry
.RS 0
.IP \(bu 2
Default: https://registry\.npmjs\.org/
2014-09-25 05:41:07 +08:00
.IP \(bu 2
Type: url
2014-09-25 05:41:07 +08:00
.RE
.P
The base URL of the npm package registry\.
2014-09-25 05:41:07 +08:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
npm help view
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help publish
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 7 registry
2014-09-25 05:41:07 +08:00
.IP \(bu 2
npm help config
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 7 config
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 5 npmrc
2014-09-25 05:41:07 +08:00
.IP \(bu 2
2014-09-17 06:38:50 +08:00
npm help 5 package\.json
2014-09-25 05:41:07 +08:00
.RE