UNPKG

save

Version:

A simple CRUD based persistence abstraction for storing objects to any backend data store. eg. Memory, MongoDB, Redis, CouchDB, Postgres, Punch Card etc.

11 lines (8 loc) 228 B
function getEngine(options, callback) { if (callback === undefined) { callback = options options = {} } callback(undefined, require('../lib/memory-engine')(options)) } require('./engine.tests')('_id', getEngine)