Skip to content

browserify-search/module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserify-search the Module

This module makes it convinient to query the browserifysearch.org service from the commandline or from JavaScript (Node or browser).

Install

npm install browserify-search, or with the -g flag if you want to install the cli globally on your system.

CLI

browserify-search <search terms...>

Output

See browserify-search --help for more.

JS API

var browserifySearch = require('browserify-search')

browserifySearch('JavaScript rocks', function(err, results){
  console.log('These are the results:', results)
})

This function can also take an options object (instead of string) as its first parameter, which contains properties:

  • q - the query search terms
  • page - the page offset
  • pageSize - number of hits per page

The output format is detailed over at the API docs.

About

CLI for searching npm for browserifiable modules via browserifysearch.org.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published