GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NPM-HELP-SEARCH (3)

NAME

npm-help-search - Search the help pages

CONTENTS

Description

SYNOPSIS

npm.commands.helpSearch(args, [silent,] callback)

DESCRIPTION

This command is rarely useful, but it exists in the rare case that it is.

This command takes an array of search terms and returns the help pages that match in order of best match.

If there is only one match, then npm displays that help section. If there are multiple results, the results are printed to the screen formatted and the array of results is returned. Each result is an object with these properties:

o hits: A map of args to number of hits on that arg. For example, {"npm": 3}
o found: Total number of unique args that matched.
o totalHits: Total number of hits.
o lines: An array of all matching lines (and some adjacent lines).
o file: Name of the file that matched

The silent parameter is not necessary not used, but it may in the future.

Search for    or go to Top of page |  Section 3 |  Main Index


NPM-HELP-SEARCH (3) October 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.