New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

keyv-null

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keyv-null

An in-memory LRU back-end for Keyv.

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
206
28.75%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

Keyv

FAQs

Package last updated on 12 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts