npm.io
0.1.1 • Published 3 years ago

react-native-block-store

Licence
MIT
Version
0.1.1
Deps
0
Size
20 kB
Vulns
0
Weekly
0
Stars
1

react-native-block-store

React Native implementation for Android Block Store

Installation

yarn add react-native-block-store

Usage

import BlockStore from 'react-native-block-store';

// ...

const key = 'key1';
const value = 'value1';

const success = await BlockStore.save(key, value);
const result = await BlockStore.retrieve(key);
const isRemoved = await BlockStore.remove(key);

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords