Name: level-mobile
Owner: Node.js LevelDB
Description: [Currently not actively maintained] Fast & simple storage - a Node.js-style LevelDB wrapper (a convenience package bundling levelup & leveldown-mobile) [requires JXcore 0.3.0.3+]
Created: 2015-06-26 14:09:34.0
Updated: 2018-01-09 15:29:44.0
Pushed: 2017-08-14 14:24:34.0
Size: 6
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Note. This is a work in progress. Use at own risk
Fast & simple storage - a Node.js-style LevelDB wrapper
This is a convenience package that bundles the current release of LevelUP and LevelDOWN-Mobile and exposes LevelUP on its export.
Use this package to avoid having to explicitly install LevelDOWN-Mobile when you want to use LevelDOWN-Mobile with LevelUP.
level = require('level-mobile')
) Create our database, supply location and options.
This will create or open the underlying LevelDB store.
db = level('./mydb')
) put a key & value
ut('name', 'Level', function (err) {
(err) return console.log('Ooops!', err) // some kind of I/O error
3) fetch by key
.get('name', function (err, value) {
if (err) return console.log('Ooops!', err) // likely the key was not found
// ta da!
console.log('name=' + value)
See LevelUP and LevelDOWN-Mobile for more details.
level-mobile is an OPEN Open Source Project. This means that:
Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
See the contribution guide for more details.
Copyright (c) 2012-2015 level-mobile contributors.
level-mobile 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.