Skip to content

Blade67/Keyvee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KeyVee

KeyVee is an extension of KeyV which emits events for each function, and is cross compatible with KeyV providers. All functionality is thus the same as KeyV's.

Usage

Install KeyVee

npm install --save keyvee

Create a new KeyVee instance

// CommonJS
const KeyVee = require("keyvee");

// ES6 / TypeScript
import KeyVee from "keyvee";

const keyvee = new KeyVee();

Events

keyvee.emitter.on("set", (key, value) => {});
keyvee.emitter.on("get", (key) => {});
keyvee.emitter.on("TTL", (key, value) => {});
keyvee.emitter.on("delete", (key, value) => {});
keyvee.emitter.on("clear", () => {});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published