tair.js
v1.0.1
Published
Tair Nodejs Sdk
Readme
tair.js
A client packaged based on ioredis that operates Tair For Redis Modules.
- TairString, is a string that contains s version number.(Open sourced)
- TairHash, is a hash that allows you to specify the expiration time and version number of a field.(Open sourced)
- TairZset, allows you to sort data of the double type based on multiple dimensions. (Open sourced)
- TairBloom, is a Bloom filter that supports dynamic scaling.
- TairRoaring, is a more efficient and balanced type of compressed bitmaps recognized by the industry.
- TairSearch, is a full-text search module developed in-house based on Redis modules.
- TairDoc, to perform create, read, update, and delete (CRUD) operations on JSON data.
- TairGis, allowing you to query points, linestrings, and polygons. (Open Sourced)
- TairTs, is a time series data structure that is developed on top of Redis modules.
- TairCpc, is a data structure developed based on the compressed probability counting (CPC) sketch.
- TairVector, is a vector that allows you to find similar data points in a high-dimensional vector space.
Installation
npm i tair.jsQuickstart
const { Redis } = require('ioredis');
const { tair } = require('tair.js');
const redis = tair(new Redis(...options));
redis['gis.get'](key);
redis['json.get'](key);