Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bloodhound-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bloodhound-js - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

9

package.json
{
"name": "bloodhound-js",
"version": "1.2.2",
"version": "1.2.3",
"description": "bloodhound.js for node and browser",

@@ -17,8 +17,9 @@ "main": "index.js",

"storage2": "^0.1.0",
"superagent": "^1.2.0"
"superagent": "^3.8.3"
},
"devDependencies": {
"tape": "^4.2.2",
"webpack": "^1.12.9",
"webpack-dev-server": "^1.14.0"
"webpack": "^4.16.2",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5"
},

@@ -25,0 +26,0 @@ "keywords": [

# bloodhound-js
[![Build Status](https://travis-ci.org/pqx/bloodhound.svg)](https://travis-ci.org/pqx/bloodhound)
[bloodhound.js](https://github.com/twitter/typeahead.js/blob/master/doc/bloodhound.md) for node and browser

@@ -7,14 +10,18 @@

### Installtion
``` sh
```sh
npm install bloodhound-js --save
```
### Changes
+ no jquery deps
+ works with both browser and node
+ jquery deferred with [es6-promise](https://www.npmjs.com/package/es6-promise)
+ storage polyfill with [storage2](https://www.npmjs.com/package/storage2)
+ ajax with [superagent](https://www.npmjs.com/package/superagent)
- no jquery deps
- works with both browser and node
- jquery deferred with [es6-promise](https://www.npmjs.com/package/es6-promise)
- storage polyfill with [storage2](https://www.npmjs.com/package/storage2)
- ajax with [superagent](https://www.npmjs.com/package/superagent)
### Usage
``` javascript
```javascript
var Bloodhound = require('bloodhound-js');

@@ -32,7 +39,11 @@ var engine = new Bloodhound({

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

@@ -42,2 +53,3 @@ ```

### License
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc