node-search
v0.0.5
Published
Node.js api search cli
Downloads
8
Maintainers
Readme
node-search
Quick tool for search in Node API docs from command line, built with nodejs.
Install
npm install -g node-search
Usage
nodeapi [options] [command] <query>
Commands:
open
opens the first search result in the browser. If open is not specified, results are listed.
Options
-o
,--open
same asnodeapi open
.-p
,--page
result's page. Defaults to 1.-l
,--limit
results per page. Defaults to 5.-v
,--verbose
If set, shows a fragment of the result descriptions.
Examples
List a few results:
nodeapi fs read
With description
nodeapi -v fs
Open the first result:
nodeapi open buffer