node package manager

nosql

NoSQL embedded database for small Node.js projects (supports insert, update, remove, drop, views, binary files)

Node.js NoSQL embedded database


IMPORTANT: the new version v5.0 has new methods than older version. The structure of database file is same.


$ npm install nosql
var NoSQL = require('nosql');
var db = NoSQL.load('/path/to/datbase.nosql');
 
// db === Database instance <https://docs.totaljs.com/latest/en.html#api~Database> 
 
db.find().make(function(filter) {
    filter.where('age', '>', 20);
    filter.where('removed', false);
    filter.callback(function() {
        console.log(err, response);
    });
});

Total.js framework