• Stars
    star
    295
  • Rank 140,902 (Top 3 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 11 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NoSQL embedded database for small node.js projects

Node.js NoSQL embedded database

NPM version NPM quality NPM downloads MIT License


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



Installation

$ npm install nosql

Usage

var NoSQL = require('nosql');
var db = NoSQL.load('/path/to/database.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(err, response) {
        console.log(err, response);
    });
});

Contributors

You must see it

Total.js framework