browser-search

Server sided indexing, browser sided search

Browser-search

$ npm install browser-search
$ browser-indexer -t title,about ~/target/ -o output.json
  $ browser-indexer -h
 
  Usage: browser-indexer [options] dir/to/index
 
  Options:
 
    -h, --help                                              output usage information
    -V, --version                                           output the version number
    -p, --print                                             print the compiled javascript              
    -o, --output [dir]                                      set the output for the index page   
    -t, --to-index <title, content>                         which fields to index  
 

Index batches of text (file, raw) into JSON files that will be searchable in the browser.