https://github.com/tradle/react-native-level
leveldb api on top of React's AsyncStorage
https://github.com/tradle/react-native-level
Last synced: 1 day ago
JSON representation
leveldb api on top of React's AsyncStorage
- Host: GitHub
- URL: https://github.com/tradle/react-native-level
- Owner: tradle
- License: mit
- Created: 2015-04-10T22:45:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-12T21:46:36.000Z (over 6 years ago)
- Last Synced: 2025-04-14T23:51:58.039Z (1 day ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 40
- Watchers: 9
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - react-native-level ★38 - levelup API for react-native AsyncStorage. (Components / Integrations)
- awesome-react-native - react-native-level ★38 - levelup API for react-native AsyncStorage. (Components / Integrations)
- awesome-react-native - react-native-level ★38 - levelup API for react-native AsyncStorage. (Components / Integrations)
- awesome-react-native - react-native-level ★38 - levelup API for react-native AsyncStorage. (Components / Integrations)
- awesome-react-native-ui - react-native-level ★32 - levelup API for react-native AsyncStorage. (Components / Integrations)
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' }
])
```