Skip to content

jussi-kalliokoski/kakku-lru-cache-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kakku-lru-cache-store

Build Status Coverage Status

An lru-cache-backed in memory store for kakku.

Usage

var LRU = require("lru-cache");
var Kakku = require("kakku").Kakku;
var LruCacheStore = require("kakku-lru-cache-store").LruCacheStore;

var kakku = new Kakku({
    ...
    store: new LruCacheStore({ client: new LRU({ max: 500 }) }),
});

Development

Development is pretty straightforward, it's all JS and the standard node stuff works:

To install dependencies:

$ npm install

To run the tests:

$ npm test

Then just make your awesome feature and a PR for it. Don't forget to file an issue first, or start with an empty PR so others can see what you're doing and discuss it so there's a a minimal amount of wasted effort.

About

An in-memory LRU cache Store for Kakku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published