librarian-memory-cache
v1.0.0
Published
LibrarianJS in memory cache plugin
Readme
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-cacheUsage
var librarian = require('librarian')
var InMemoryCache = require('librarian-memory-cache')
var app = librarian({
cache: new InMemoryCache
})
app.listen(8888)