Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

nimble, durable, document store

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 benchmark
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

nimbus

nimble, durable, document store.

synopsis

var nimbus = require('nimbus');
var db = new(nimbus.DB);

db.load('./database.nimbus');
db.put({ _id: 32, name: 'joseline', profession: 'botanist' });
db.get(32).name; // 'joseline'
db.update(32, { profession: 'florist' });
db.get(32).profession; // 'florist'

db.remove(32);
db.get(32); // null

db.filter(function (row) {
    return row.name.match(/^[Jj]/);
}); // [{ _id: 32, name: 'joseline', profession: 'florist' }]

db.put({ _id: 45, name: 'locke' }, function (err) {
    if (! err) {
        // The data has been persisted to disk.
    }
}); // The data is in memory.

db.changes(function (eventType, doc) {
    eventType // 'put', 'update', 'remove'
}); // event stream

More information coming soon.

license

See LICENSE.

Copyright (c) 2010 - Alexis Sellier

Something went wrong with that request. Please try again.