0.0.14 • Published 10 years ago

yerbajs v0.0.14

Weekly downloads
58
License
-
Repository
github
Last release
10 years ago

yerbajs

simple data management for javascript designed to work in node.js and (almost) any web browser.

browser

<script src="yerba-min.js"></script>

yerba is added to window.yerba, which is available globally as yerba

node

currently does not work properly in node - attempting to have builtin cluster support.

installation

npm install yerbajs

usage

var yerba = require( 'yerbajs' );

basic example

var test = new yerba();

test.add({
	'foo': 'bar'
});

test.add({
	'foo': 'not bar'
});

// returns the first object added
test.find({
	'query': { 'foo': 'bar' },
	'done': function ( doc ) {
		// doc holds an array containing matches
	}
});
0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago