read bitmap from redis
https://github.com/fghpdf/readBitmap.git
npm i --save readbitmap
const readBitmap = require('readbitmap')
readBitmap('testBit').then((res) => {
console.log(res)
})
// [0, 12, 13, 100]
The first param is redis bitmap key.
The second param is redis config, you can see ioredis to get more infomation to connect redis.