Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 1 commit behind deanmao:master

Failed to load latest commit information.
src Fix types so it compiles
Makefile initial commit x
index.js initial commit
package.json initial commit

Bloom Filters for Node

This is a simple node binding of Arash Partow's wonderful bloom filter library.

Example Usage

npm install bloom

Quick example:

var BloomFilter = require('bloom').BloomFilter;
var mytester = new BloomFilter(1000);


if (mytester.contains('apple')) {
  console.log('apple is in our bit table');

if (!mytester.contains('squash')) {
  console.log('squash is not in our bit table');
Something went wrong with that request. Please try again.