]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-help-search.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-help-search.3
1 .TH "NPM\-HELP\-SEARCH" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-help-search\fR \- Search the help pages
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.helpSearch(args, [silent,] callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 This command is rarely useful, but it exists in the rare case that it is\.
14 .P
15 This command takes an array of search terms and returns the help pages that
16 match in order of best match\.
17 .P
18 If there is only one match, then npm displays that help section\. If there
19 are multiple results, the results are printed to the screen formatted and the
20 array of results is returned\. Each result is an object with these properties:
21 .RS 0
22 .IP \(bu 2
23 hits:
24 A map of args to number of hits on that arg\. For example, {"npm": 3}
25 .IP \(bu 2
26 found:
27 Total number of unique args that matched\.
28 .IP \(bu 2
29 totalHits:
30 Total number of hits\.
31 .IP \(bu 2
32 lines:
33 An array of all matching lines (and some adjacent lines)\.
34 .IP \(bu 2
35 file:
36 Name of the file that matched
37
38 .RE
39 .P
40 The silent parameter is not necessary not used, but it may in the future\.
41