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 month|
|Version||1.1.0 last updated 5 months ago|
|Keywords||bodhi, key-value, store, JSON, file system|
Another key-value store for node.js
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.
Currently no NPM packages for bodhi-scripts and bodhi-store exist. YOu just have to clone the repositories somewhere in your NODE_PATH
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-store is considered beerware.