brave/bloodhound

Name: bloodhound

Owner: Brave Software

Description: bloodhound.js for node and browser

Forked from: pqx/bloodhound

Created: 2017-09-01 06:45:04.0

Updated: 2017-09-01 06:45:05.0

Pushed: 2017-09-06 13:31:59.0

Homepage: https://www.npmjs.com/bloodhound-js

Size: 694

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

bloodhound-js

bloodhound.js for node and browser

Bloodhound is the typeahead.js suggestion engine. Bloodhound is robust, flexible, and offers advanced functionalities such as prefetching, intelligent caching, fast lookups, and backfilling with remote data.

Installtion
install bloodhound-js --save
Changes
Usage
Bloodhound = require('bloodhound-js');
engine = new Bloodhound({
cal: ['dog', 'pig', 'moose'],
eryTokenizer: Bloodhound.tokenizers.whitespace,
tumTokenizer: Bloodhound.tokenizers.whitespace


promise = engine.initialize();

ise.then(function() {
nsole.log('engine init done');

gine.search('d', function(d) {
console.log(d);
 function(d) {
console.log(d);
;

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.