Official port of Roaring Bitmaps for NodeJS as a native addon, with precompiled support for Lambda AWS node v8.10.0. It is interoperable with other implementations via the Roaring format.
Roaring bitmaps are compressed bitmaps. They can be hundreds of times faster.
npm install --save roaring-aws
This library is Serverless ready.
npm install --save roaring-aws
serverless deploy
This library wraps roaring NPM package. It includes also a precompiled .node binary that is used when running inside AWS.
The normal roaring package is used instead when running outside of AWS (local environment, continuous integration, ...)
AWS detection works by checking the presence of a non empty environment variable "AWS_EXECUTION_ENV". It is set by default when running in AWS Lambdas. See https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
This package - https://www.npmjs.com/package/roaring-aws
Source code and build tools for this package - https://github.com/SalvatorePreviti/roaring-node-aws
Roaring Bitmaps - http://roaringbitmap.org/
Portable Roaring bitmaps in C - https://github.com/RoaringBitmap/CRoaring
-
This package is provided as open source software using Apache License.
-
CRoaring is provided as open source software using Apache License.
- Use require('roaring-aws') instead of require('roaring') in your code.
- Use require('roaring-aws/RoaringBitmap32') instead of require('roaring/RoaringBitmap32') in your code.
For the API see https://github.com/SalvatorePreviti/roaring-node/blob/master/documentation/api/index.d.md and https://github.com/SalvatorePreviti/roaring-node