simplejsondb
v0.0.3
Published
Simple Database
Downloads
6
Readme
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;