0.2.0 • Published 6 months ago

redis-bloom-filter v0.2.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

redis-bloom-filter

CI npm version

Port of Redisson's bloom filter to JavaScript, with some improvements (using xxh3-ts instead of highway hash 128).

Usage

npm install redis-bloom-filter
import { BloomFilter } from 'redis-bloom-filter';

const bloomFilter = new BloomFilter({
  redis: {
    url: 'redis://localhost:6379',
  },
  name: 'my-bloom-filter',
  ttlSeconds: 60, // optional, defaults to 0 (no TTL)
});
0.2.0

6 months ago

0.1.0

6 months ago