0.0.3 • Published 9 years ago

simplejsondb v0.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

simplejsondb

Simple database created in nodejs

##To install: npm install simplejsondb

##To install and save as dependency: npm install --save simplejsondb

##Examples ###How to create db:

var db  = require('simplejsondb');

//Set appname to the name of your application
//Set dbname to the name of your database

var mydb = db(appname, dbname);

###How to store key-value pair:

mydb.store(key,value);

###How to get value from key:

var value = mydb.get(key);

###How to delete database:

mydb.dropdb();
mydb = undefined;