All Projects → albert-team → rebloom

albert-team / rebloom

Licence: MIT license
Minimalistic RedisBloom client for Node.js

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rebloom

Clusterws
💥 Lightweight, fast and powerful framework for building scalable WebSocket applications in Node.js
Stars: ✭ 868 (+4722.22%)
Mutual labels:  minimalistic
Alfred Simple
Simple theme for Alfred
Stars: ✭ 217 (+1105.56%)
Mutual labels:  minimalistic
redisbloom-go
Go Client for RedisBloom probabilistic module
Stars: ✭ 74 (+311.11%)
Mutual labels:  redisbloom
Hugo Vitae
Vitae is a blog theme for Hugo that focuses on your content.
Stars: ✭ 81 (+350%)
Mutual labels:  minimalistic
Drooltip.js
🔥 💦 Minimalistic, powerful and extensible Vanilla JS tooltip library
Stars: ✭ 129 (+616.67%)
Mutual labels:  minimalistic
Lazyblorg
Blogging with Org-mode for very lazy people
Stars: ✭ 226 (+1155.56%)
Mutual labels:  minimalistic
Modularosticket
Adaptation of ModularAdmin for Osticket v.1.11
Stars: ✭ 24 (+33.33%)
Mutual labels:  minimalistic
ClusterWS-Client-Swift
☄️ Swift Client for ClusterWS - lightweight, fast and powerful framework for building scalable WebSockets applications in Node.js.
Stars: ✭ 20 (+11.11%)
Mutual labels:  minimalistic
Circle Flags
A collection of 300+ minimal circular SVG country flags
Stars: ✭ 139 (+672.22%)
Mutual labels:  minimalistic
peterthehan
My personal site and profile README.
Stars: ✭ 36 (+100%)
Mutual labels:  minimalistic
Torchlambda
Lightweight tool to deploy PyTorch models to AWS Lambda
Stars: ✭ 83 (+361.11%)
Mutual labels:  minimalistic
Clusterws Client Js
🔥 JavaScript Client for ClusterWS - lightweight, fast and powerful framework for building scalable WebSocket applications in Node.js.
Stars: ✭ 120 (+566.67%)
Mutual labels:  minimalistic
home-assistant-theme-outline
🎨 Home Assistant Theme: Outline
Stars: ✭ 20 (+11.11%)
Mutual labels:  minimalistic
Vscode Monokai Night
A complete, dark and minimalistic Monokai-inspired theme.
Stars: ✭ 52 (+188.89%)
Mutual labels:  minimalistic
Boston-Icons
Boston is an exclusive icon theme inspired by functionalist design and a touch of early computer icons. The project is focused on elemental properties, basic shapes, a reduced color palette and visual hierarchy.
Stars: ✭ 106 (+488.89%)
Mutual labels:  minimalistic
Kepler
Futuristic / minimal monospace typeface.
Stars: ✭ 9 (-50%)
Mutual labels:  minimalistic
Hugo Theme M10c
A minimalistic (m10c) blog theme for Hugo
Stars: ✭ 223 (+1138.89%)
Mutual labels:  minimalistic
barecolor
A tiny JavaScript utility for printing colorful console messages.
Stars: ✭ 20 (+11.11%)
Mutual labels:  minimalistic
json-crate
📦 json-crate: a minimalistic promise-based json database
Stars: ✭ 29 (+61.11%)
Mutual labels:  minimalistic
django-template
Simple, extensible, easy to set up, fully functional, django project template.
Stars: ✭ 64 (+255.56%)
Mutual labels:  minimalistic

REBLOOM

Minimalistic RedisBloom client for Node.js.

Installation

Requirements

Instructions

With npm

npm i @albert-team/rebloom

With yarn

yarn add @albert-team/rebloom

Usage

Important:

  • Rebloom v2 is nearly a rewrite from scratch, thus not backward-compatible with Rebloom v1.
  • RedisBloom module needs to be loaded into Redis server beforehand.

Get Started

const { BloomFilter } = require('@albert-team/rebloom')

const main = async () => {
  const filter = new BloomFilter('filtername', {
    host: 'localhost',
    port: 6379,
    redisClientOptions: { password: 'scrtpassword' },
  })
  await filter.connect()

  console.log(await filter.add('item0')) // 1
  console.log(await filter.exists('item0')) // 1
  console.log(await filter.exists('item1')) // 0

  await filter.disconnect()
}

main().catch((err) => console.error(err))

API

Read more here.

Changelog

Read more here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].