react-native-block-store
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i react-native-block-store

Weekly Downloads

14

Version

0.1.1

License

MIT

Unpacked Size

20.3 kB

Total Files

24

Last publish

Collaborators

  • matinzd