1.0.0 • Published 8 years ago

librarian-memory-cache v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Librarian In Memory Cache

A Librarian cache plugin that stores images in memory. For development and experimentation only. You shouldn't use this in production. Passes the cache plugin test suite

Compatible with Librarian v2.0 and above.

Installation

npm install librarian-memory-cache

Usage

var librarian = require('librarian')
var InMemoryCache = require('librarian-memory-cache')
var app = librarian({
    cache: new InMemoryCache
})
app.listen(8888)