keyv-null

1.1.1 • Public • Published

Keyv - LRU Keyv logo

This project is part of the Keyv suite.

Travis Coverage

Installation

In order to use LRU as your store in Keyv you will need to:

Install

Install this module in your project:


npm install keyv-null

Features

This module is based on the tiny-lru module. This is one of the best performing libraries for LRU storages.

Usage

Create your Keyv object by executing:

const options = {
  max: 1000,
  notify: false,
  ttl: 0,
  expire: 0,
};
const keyvNull = new KeyvNull(options);

See tiny-lru to learn about the available options.

Contributors

Contributors
Mateu Aguiló Bosch

License

keyv-null is MIT licensed.

Readme

Keywords

Package Sidebar

Install

npm i keyv-null

Weekly Downloads

23

Version

1.1.1

License

MIT

Unpacked Size

8.42 kB

Total Files

11

Last publish

Collaborators

  • e0ipso