summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/help-search.md
blob: 9c16901ebb53fd1b1fe2c683b66d467cbe4b4cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
npm-help-search(1) -- Search npm help documentation
===================================================

## SYNOPSIS

    npm help-search some search terms

## DESCRIPTION

This command will search the npm markdown documentation files for the
terms provided, and then list the results, sorted by relevance.

If only one result is found, then it will show that help topic.

If the argument to `npm help` is not a known help topic, then it will
call `help-search`.  It is rarely if ever necessary to call this
command directly.

## CONFIGURATION

### long

* Type: Boolean
* Default false

If true, the "long" flag will cause help-search to output context around
where the terms were found in the documentation.

If false, then help-search will just list out the help topics found.

## SEE ALSO

* npm(1)
* npm-faq(1)
* npm-help(1)