1.0.6 • Published 4 years ago

roaring-aws v1.0.6

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

roaring

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.

installation

npm install --save roaring-aws

serverless

This library is Serverless ready.

npm install --save roaring-aws
serverless deploy

how it works

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

references

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

licenses

  • This package is provided as open source software using Apache License.

  • CRoaring is provided as open source software using Apache License.

API

  • 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

1.0.6

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.8

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago