run-ahead

0.1.4 • Public • Published

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:

Remote Configurations

Package Sidebar

Install

npm i run-ahead

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

48.5 kB

Total Files

16

Last publish

Collaborators

  • chopinsky