level-js
An abstract-leveldown compliant store on top of IndexedDB, which is in turn implemented on top of LevelDB which brings this whole shebang full circle.

Background
Here are the goals of level-js:
- Store large amounts of data in modern browsers
- Pass the full
abstract-leveldown test suite
- Support Buffer values (in all target environments)
- Support all key types of IndexedDB Second Edition, including binary keys (depends on environment)
- Support all value types of the structured clone algorithm (depends on environment)
- Be as fast as possible
- Sync with multilevel over either ASCII or binary transports.
Being abstract-leveldown compliant means you can use many of the Level modules on top of this library. For some demos of it working, see @brycebaril's presentation Path of the NodeBases Jedi.
Example
This assumes use of version 3.0.0-rc1. The next release will have an upgrade guide.
var levelup = require('levelup')
var leveljs = require('level-js')
var db = levelup(leveljs('bigdata'))
db.put('hello', Buffer.from('world'), function (err) {
if (err) throw err
db.get('hello', function (err, value) {
if (err) throw err
console.log(value.toString()) // 'world'
})
})
Browser Support

Install
npm install level-js # Stable
npm install level-js@next # Bleeding edge
Not to be confused with leveljs.
This library is best used with browserify.
Running Tests
git clone git@github.com:Level/level.js.git
cd level.js
npm install
npm test
It will print out a URL to open in a browser of choice.
Big Thanks
Cross-browser Testing Platform and Open Source ♥ Provided by Sauce Labs.
![Sauce Labs logo]()
License
Copyright (c) 2012-2018 level.js contributors.
level.js is licensed under the MIT license. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.
Current Tags
-
6.1.0
...
latest
(5 years ago)
-
4.0.2
...
latest-4
(7 years ago)
35 Versions
-
6.1.0
[deprecated]
...
5 years ago
-
6.0.0
[deprecated]
...
6 years ago
-
5.0.2
[deprecated]
...
7 years ago
-
4.0.2
[deprecated]
...
7 years ago
-
5.0.1
[deprecated]
...
7 years ago
-
5.0.0
[deprecated]
...
7 years ago
-
4.0.1
[deprecated]
...
8 years ago
-
4.0.0
[deprecated]
...
8 years ago
-
3.0.0
[deprecated]
...
8 years ago
-
3.0.0-rc1
[deprecated]
...
9 years ago
-
2.2.4
[deprecated]
...
11 years ago
-
2.2.3
[deprecated]
...
11 years ago
-
2.2.2
[deprecated]
...
11 years ago
-
2.2.1
[deprecated]
...
11 years ago
-
2.2.0
[deprecated]
...
11 years ago
-
2.1.6
[deprecated]
...
12 years ago
-
2.1.5
[deprecated]
...
12 years ago
-
2.1.4
[deprecated]
...
13 years ago
-
2.1.3
[deprecated]
...
13 years ago
-
2.1.2
[deprecated]
...
13 years ago
-
2.0.0
[deprecated]
...
13 years ago
-
1.2.0
[deprecated]
...
13 years ago
-
1.1.2
[deprecated]
...
13 years ago
-
1.1.1
[deprecated]
...
13 years ago
-
1.1.0
[deprecated]
...
13 years ago
-
1.0.8
[deprecated]
...
13 years ago
-
1.0.7
[deprecated]
...
13 years ago
-
1.0.6
[deprecated]
...
13 years ago
-
1.0.5
[deprecated]
...
13 years ago
-
1.0.4
[deprecated]
...
13 years ago
-
1.0.3
[deprecated]
...
14 years ago
-
1.0.2
[deprecated]
...
14 years ago
-
1.0.1
[deprecated]
...
14 years ago
-
1.0.0
[deprecated]
...
14 years ago
-
0.0.0
[deprecated]
...
14 years ago