@keyv/bigmap

Bigmap for Keyv

build codecov npm npm

Features

  • Based on the Map interface and uses the same API.
  • Lightweight with no dependencies.
  • Scales to past the 17 million key limit of a regular Map.
  • Uses a hash djb2Hash for fast key lookups.
  • Ability to use your own hash function.
  • Built in Typescript and Generics for type safety.
  • Used as default in-memory store for Keyv.
  • Used as in-memory store for @keyv/fs.
  • Used in @cacheable/memory for scalable in-memory caching.
  • Maintained regularly with a focus on performance and reliability.

Table of Contents

Installation

npm install --save keyv @keyv/bigmap

Usage

Benchmarks

Contributing

Please see our contributing guide.

License

MIT © Jared Wray