0.1.4 • Published 10 years ago

staticstore v0.1.4

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

#staticstore#

staticstore is key/value database for jsons who uses the filesysteme and static json-files.

this is in early development and will be tested soon in my other project in production mode.

##documentation##

more documentation will follow

###basic usage###

npm install staticstore

var store = require('staticstore');

/ initialize your db. by default in './staticstore' you can change this default-path by adding you own as paramater like store.initdb('/root/staticstore'); / store.initdb();

###store.createdb('database', callback)### creates a database (=folder)

...

###store.deletedb('database', callback)### deletes a database

...

###store.setItem('database/key', callback)### saves a item in a database

...

###store.getItem('database/key', callback)###

...

###store.deleteItem('database/key', callback)###

...

###store.getAllItems('database', callback)###

...

###store.itemCount('database', callback)###

...

###store.getIndex('database', callback)###

...

###store.itemExists('database/key', callback)###

...

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago