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

59 lines
1.2 KiB
Groff
Raw Normal View History

.TH "NPM\-DOCS" "" "November 2019" "" ""
.SH "NAME"
\fBnpm-docs\fR
.SH Docs for a package in a web browser maybe
.SS Synopsis
2014-09-24 14:41:07 -07:00
.P
.RS 2
2014-11-04 15:08:12 -08:00
.nf
2014-01-19 21:13:20 -08:00
npm docs [<pkgname> [<pkgname> \.\.\.]]
npm docs \.
2014-01-19 21:13:20 -08:00
npm home [<pkgname> [<pkgname> \.\.\.]]
npm home \.
2014-11-04 15:08:12 -08:00
.fi
2014-09-24 14:41:07 -07:00
.RE
.SS Description
2014-09-24 14:41:07 -07:00
.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\fP
2014-01-19 21: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\fP in
the current folder and use the \fBname\fP property\.
.SS Configuration
2014-09-24 14:41:07 -07:00
.SS browser
.RS 0
.IP \(bu 2
Default: OS X: \fB"open"\fP, Windows: \fB"start"\fP, Others: \fB"xdg\-open"\fP
2014-09-24 14:41:07 -07:00
.IP \(bu 2
Type: String
2014-09-24 14:41:07 -07:00
.RE
.P
The browser that is called by the \fBnpm docs\fP command to open websites\.
2014-09-24 14:41:07 -07:00
.SS registry
.RS 0
.IP \(bu 2
Default: https://registry\.npmjs\.org/
2014-09-24 14:41:07 -07:00
.IP \(bu 2
Type: url
2014-09-24 14:41:07 -07:00
.RE
.P
The base URL of the npm package registry\.
.SS See Also
2014-09-24 14:41:07 -07:00
.RS 0
.IP \(bu 2
npm help npm\-view
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help npm\-publish
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help registry
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help npm\-config
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help npmrc
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help package\-json
2014-09-24 14:41:07 -07:00
.RE