1.0.1 • Published 8 years ago

librarian-memory-storage v1.0.1

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

Librarian In Memory Data

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

Compatible with Librarian v2.0 and above.

Installation

npm install librarian-memory-storage

Usage

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