tradle / react-native-level

leveldb api on top of React's AsyncStorage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-level

levelup API wrapper for react-native AsyncStorage.

This modules is a wrapper for our other module asyncstorage-down, which does all the real work and is implementing the leveldown API

var level = require('react-native-level')
var db = level('path/to/db', { /*...options...*/ })
db.put('blah');
db.batch([
  { type: 'put', key: 'tasty', value: 'wheat' },
  { type: 'put', key: 'chicken', value: 'feet' }
])

About

leveldb api on top of React's AsyncStorage

License:MIT License


Languages

Language:JavaScript 100.0%