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

61 lines
1.4 KiB
Groff
Raw Normal View History

.TH "NPM\-SEARCH" "1" "November 2016" "" ""
.SH "NAME"
2014-09-24 14:41:07 -07:00
\fBnpm-search\fR \- Search for packages
.SH SYNOPSIS
.P
.RS 2
2014-11-04 15:08:12 -08:00
.nf
npm search [\-l|\-\-long] [search terms \.\.\.]
aliases: s, se, find
2014-11-04 15:08:12 -08:00
.fi
2014-09-24 14:41:07 -07:00
.RE
.SH DESCRIPTION
.P
Search the registry for packages matching the search terms\.
.P
If a term starts with \fB/\fP, then it's interpreted as a regular expression\.
A trailing \fB/\fP will be ignored in this case\. (Note that many regular
2011-12-13 18:53:02 -08:00
expression characters must be escaped or quoted in most shells\.)
2014-09-24 14:41:07 -07:00
.SH CONFIGURATION
.SS long
.RS 0
.IP \(bu 2
2014-01-19 21:13:20 -08:00
Default: false
2014-09-24 14:41:07 -07:00
.IP \(bu 2
2014-01-19 21:13:20 -08:00
Type: Boolean
2014-09-24 14:41:07 -07:00
.RE
2014-01-19 21:13:20 -08:00
.P
Display full package descriptions and other long text across multiple
lines\. When disabled (default) search results are truncated to fit
neatly on a single line\. Modules with extremely long names will
fall on multiple lines\.
.SS registry
.RS 0
.IP \(bu 2
Default: https://registry\.npmjs\.org/
.IP \(bu 2
Type : url
.RE
.P
Search the specified registry for modules\. If you have configured npm to point to a different default registry,
such as your internal private module repository, \fBnpm search\fP will default to that registry when searching\.
Pass a different registry url such as the default above in order to override this setting\.
2014-09-24 14:41:07 -07:00
.SH SEE ALSO
.RS 0
.IP \(bu 2
2014-09-16 15:38:50 -07:00
npm help 7 registry
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help config
2014-09-24 14:41:07 -07:00
.IP \(bu 2
2014-09-16 15:38:50 -07:00
npm help 7 config
2014-09-24 14:41:07 -07:00
.IP \(bu 2
2014-09-16 15:38:50 -07:00
npm help 5 npmrc
2014-09-24 14:41:07 -07:00
.IP \(bu 2
npm help view
2014-09-24 14:41:07 -07:00
.RE