Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A file backed MVCC data store in Node.js.
JavaScript
Branch: master

README.md

Memento

Memento is an Multi-Version Concurrency Control database written in CoffeeScript for Node.js. It is based on Strata, an evented I/O b‑tree.

Memento is in development.

Open and Shut

Memento creates a store which is an EventEmitter. You can create a new store by providing a directory for the store to createStore.

#!/usr/bin/env node

var memento = require('memento');
var store = memento.createStore(tmp);

store.on('ready', function () {
  store.close(); 
  store.on('close', function () { ok(1, 'created') });
});

store.on('error', function (e) { throw e });

The directory must be empty.

Incoming

The database that doesn't forget.

Something went wrong with that request. Please try again.