Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.77 KB

readme.md

File metadata and controls

61 lines (42 loc) · 1.77 KB

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/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);
	});
});

## Contributors

You must see it

Total.js framework