PATH:
usr
/
local
/
lib
/
node_modules
/
npm
/
man
/
man1
.TH "NPM\-SEARCH" "1" "December 2019" "" "" .SH "NAME" \fBnpm-search\fR \- Search for packages .SS Synopsis .P .RS 2 .nf npm search [\-l|\-\-long] [\-\-json] [\-\-parseable] [\-\-no\-description] [search terms \.\.\.] aliases: s, se, find .fi .RE .SS Description .P Search the registry for packages matching the search terms\. \fBnpm search\fP performs a linear, incremental, lexically\-ordered search through package metadata for all files in the registry\. If color is enabled, it will further highlight the matches in the results\. .P Additionally, using the \fB\-\-searchopts\fP and \fB\-\-searchexclude\fP options paired with more search terms will respectively include and exclude further patterns\. The main difference between \fB\-\-searchopts\fP and the standard search terms is that the former does not highlight results in the output and can be used for more fine\-grained filtering\. Additionally, both of these can be added to \fB\|\.npmrc\fP for default search filtering behavior\. .P Search also allows targeting of maintainers in search results, by prefixing their npm username with \fB=\fP\|\. .P If a term starts with \fB/\fP, then it's interpreted as a regular expression and supports standard JavaScript RegExp syntax\. A trailing \fB/\fP will be ignored in this case\. (Note that many regular expression characters must be escaped or quoted in most shells\.) .SS A Note on caching .SS Configuration .SS description .RS 0 .IP \(bu 2 Default: true .IP \(bu 2 Type: Boolean .RE .P Used as \fB\-\-no\-description\fP, disables search matching in package descriptions and suppresses display of that field in results\. .SS json .RS 0 .IP \(bu 2 Default: false .IP \(bu 2 Type: Boolean .RE .P Output search results as a JSON array\. .SS parseable .RS 0 .IP \(bu 2 Default: false .IP \(bu 2 Type: Boolean .RE .P Output search results as lines with tab\-separated columns\. .SS long .RS 0 .IP \(bu 2 Default: false .IP \(bu 2 Type: Boolean .RE .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 searchopts .RS 0 .IP \(bu 2 Default: "" .IP \(bu 2 Type: String .RE .P Space\-separated options that are always passed to search\. .SS searchexclude .RS 0 .IP \(bu 2 Default: "" .IP \(bu 2 Type: String .RE .P Space\-separated options that limit the results from search\. .SS searchstaleness .RS 0 .IP \(bu 2 Default: 900 (15 minutes) .IP \(bu 2 Type: Number .RE .P The age of the cache, in seconds, before another registry request is made\. .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\. .SS See Also .RS 0 .IP \(bu 2 npm help registry .IP \(bu 2 npm help config .IP \(bu 2 npm help npmrc .IP \(bu 2 npm help view .RE
[-] npm-restart.1
[edit]
[-] npm-publish.1
[edit]
[-] npm.1
[edit]
[-] npm-org.1
[edit]
[-] npm-ci.1
[edit]
[-] npm-token.1
[edit]
[-] npm-test.1
[edit]
[-] npm-completion.1
[edit]
[-] npm-install.1
[edit]
[-] npm-rebuild.1
[edit]
[-] npm-deprecate.1
[edit]
[-] npm-update.1
[edit]
[+]
..
[-] npm-doctor.1
[edit]
[-] npm-help.1
[edit]
[-] npm-start.1
[edit]
[-] npm-bugs.1
[edit]
[-] npm-fund.1
[edit]
[-] npm-stars.1
[edit]
[-] npm-version.1
[edit]
[-] npm-ls.1
[edit]
[-] npm-repo.1
[edit]
[-] npm-hook.1
[edit]
[-] npm-dist-tag.1
[edit]
[-] npm-bin.1
[edit]
[-] npm-explore.1
[edit]
[-] npm-star.1
[edit]
[-] npm-bundle.1
[edit]
[-] npm-search.1
[edit]
[-] npm-build.1
[edit]
[-] npx.1
[edit]
[-] npm-unpublish.1
[edit]
[-] npm-shrinkwrap.1
[edit]
[-] npm-config.1
[edit]
[-] npm-owner.1
[edit]
[-] npm-uninstall.1
[edit]
[-] npm-link.1
[edit]
[-] npm-access.1
[edit]
[-] npm-docs.1
[edit]
[-] npm-README.1
[edit]
[-] npm-audit.1
[edit]
[-] npm-install-test.1
[edit]
[-] npm-whoami.1
[edit]
[-] npm-init.1
[edit]
[-] npm-adduser.1
[edit]
[-] npm-team.1
[edit]
[-] npm-run-script.1
[edit]
[-] npm-prune.1
[edit]
[-] npm-install-ci-test.1
[edit]
[-] npm-help-search.1
[edit]
[-] npm-cache.1
[edit]
[-] npm-profile.1
[edit]
[-] npm-root.1
[edit]
[-] npm-stop.1
[edit]
[-] npm-outdated.1
[edit]
[-] npm-ping.1
[edit]
[-] npm-pack.1
[edit]
[-] npm-edit.1
[edit]
[-] npm-logout.1
[edit]
[-] npm-view.1
[edit]
[-] npm-dedupe.1
[edit]
[-] npm-prefix.1
[edit]