0.1.4 • Published 4 years ago
run-ahead v0.1.4
run-ahead
An in-memory text search engine that does fuzzy matching on entries.
Install
Install the package via npm
:
$ npm install run-ahead
Then import the package to your project:
- in
node
:
const engine = require("run-ahead");
const e = engine.runAhead({
// configuration settings here ...
});
- in frontend framework:
import engine from 'run-ahead';
export default class MyClass {
constructor() {
this.e = engine.runAhead({
// configuration settings here ...
});
}
}
Public APIs
add
:query
:reset
:replaceOptions
:setOption
:
Configuration Options
token
:tokenType
:cacheCapacity
:remote
: