Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/tradle/react-native-level

leveldb api on top of React's AsyncStorage
https://github.com/tradle/react-native-level

Last synced: 2 months ago
JSON representation

leveldb api on top of React's AsyncStorage

Lists

README

        

# react-native-level

levelup API wrapper for react-native AsyncStorage.

This modules is a wrapper for our other module [asyncstorage-down](https://github.com/tradle/asyncstorage-down), which does all the real work and is implementing the leveldown API

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