Easy API for leveldb on both node.js and the browser.
Isomorphic JavaScript FTW!
It uses these internally:
to use it in node.js:
var evenlevel = require('evenlevel');
to use it in a browser, link to evenlevel files in the dist dir
<script src="dist/evenlevel.min.js"></script>
API
check here
Example usage
check static example and jsbin
if you want to develop
get the code from github:
git clone git@github.com:JosePedroDias/evenlevel.git
cd evenlevel
install dependencies
npm install
make deps
do your editing of evenlevel.js
...
rebuild browser bundles:
make build
check demos for using in both the browser and node.js...
TODO
- needs unit tests!
- better examples