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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
install bloodhound-js --save
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);
;
MIT