Socket
Book a DemoInstallSign in
Socket

lunr-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lunr-server

A standalone server for a Lunr.js search corpus

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

lunr-server [WORK IN PROGRESS]

This is a Node.js server that responds to queries for Lunr.js indexes.

Note: This server is still in its early stages and subject to change drastically. Don't use it yet.

Running locally

Assumes that the indexed projects are locally accessible via the filepaths listed in lunr-server-config.json.

Install

sudo npm install gulp gulp-util gulp-mocha --save-dev

Run

bin/lunr-server lunr-server-config.json

Query

curl localhost:8080/?q=my+search+terms

Keywords

Lunr.js

FAQs

Package last updated on 02 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts