kakku-lru-cache-store

0.0.0 • Public • Published

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.

Package Sidebar

Install

npm i kakku-lru-cache-store

Weekly Downloads

0

Version

0.0.0

License

ISC

Last publish

Collaborators

  • jussi-kalliokoski