3.1.0 • Published 5 years ago

react-native-level v3.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

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' }
])