huge-async-storage
TypeScript icon, indicating that this package has built-in type declarations

1.0.16 • Public • Published

huge-async-storage

A wrapper of AsyncStorage that allows you to store huge data on react-native.

Installation

yarn add huge-async-storage

Usage

import {storeAsync, getAsync, removeAsync} from "huge-async-storage";

.....

await storeAsync(`value1`, {value: Array(1000000).fill(1)}); // store huge data
const value1 = await getAsync(`value1`); // to get the value by key
await removeAsync(`value1`); // to remove the value

Package Sidebar

Install

npm i huge-async-storage

Weekly Downloads

9

Version

1.0.16

License

MIT

Unpacked Size

5.66 kB

Total Files

6

Last publish

Collaborators

  • maxgfr