cachee

0.0.1 • Public • Published

cachee

A full-featured caching module for node.js

Usage

var cache = require('./index');

cache.useCounter();
cache.set('mike', 20);
console.log(cache.get('mike'));

Functions

set(key, value)

get(key)

getCount(key)

delete(key)

clear()

incrby(key, incr)

ttl(key, time, timeoutCallback)

useCounter()

isEmptyCache(key)

isValidKey(key)

isValidTrigger(key)

keys()

size()

trigger(key, conditions, callbackFunction)

getTriggerCount(key)

removeTrigger(key)

/cachee/

    Package Sidebar

    Install

    npm i cachee

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • junl