Skip to content

tradle/react-native-level

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 12, 2018
61bec53 · Nov 12, 2018

History

32 Commits
Apr 10, 2015
Apr 10, 2015
Jan 15, 2016
Oct 13, 2015
Nov 12, 2018

Repository files navigation

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