bodhi-store

Cached key-value store. Every key-value pair is stored as a JSON-file. Pairs are managed in buckets where every bucket is just a folder containing JSON-files.

npm install bodhi-store
3 downloads in the last week
13 downloads in the last month

bodhi-store

Another key-value store for node.js

Overview

bodhi-store is another simple key-value store for node.js. As the storing backend your file system is used. Pairs of key-value are organized in named buckets. Use a bucket for every logic domain. Every bucket has its own cache that only write backs pairs on replacement and process exit. Every pair is stored in a JSON file.

Dependencies

    bodhi-scripts

Currently no NPM packages for bodhi-scripts and bodhi-store exist. YOu just have to clone the repositories somewhere in your NODE_PATH

Testing

Unit tests are implemented with a very simple self-made framework. Just execute the follwoing line for running all the unit tests.

    bodhi-testsuite.js --suite test

You can also run single unit tests from the test folder.

    bodhi-testsuite.js test/bucket-test.js

License

bodhi-store is considered beerware.

Contact

https://github.com/aggsol/bodhi-store

root@aggressive-solutions.de

npm loves you