leveldown/leveldb library for browsers using IndexedDB
Most people use levelup on top of this library. See
test-levelup.js for details
For some demos of it working, see @brycebaril's presentation "Path of the NodeBases Jedi": http://brycebaril.github.io/nodebase_jedi/#/vanilla
level.js uses IDBWrapper by jensarps to ensure compatibility between IDB implementations.
Here are the goals of this level.js:
Being leveldown compatible means you can use many of the level-* modules on top of this library.
npm install level-js
(Not to be confused with leveljs)
This library is best used with browserify
var leveljs = require'level-js'var db = leveljs'bigdata'dbopen
The test suite for this library is in the abstract-leveldown repo and is shared between various leveldown implementations across different environments and platforms.
For more code examples see the abstract-leveldown test suite
The only differences between this and leveldown is that you can store
ArrayBuffers in this (whereas leveldown just uses node
git clone email@example.com:maxogden/level.js.gitcd level.jsnpm installnpm testopen localhost:9966
Then look in your browser console