kakku-lru-cache-store
v0.0.0
Published
An lru-cache-backed in-memory store for kakku
Downloads
2
Maintainers
Readme
kakku-lru-cache-store
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.