Table of Contents
Simple cache wrapper for AsyncStorage
Built with ❤︎ by Tiaan and contributors
Table of Contents
About
This module is a wrapper around react-native-modest-storage that extends it for handling cached values.
Install
$ npm install --save react-native-modest-cache# OR $ yarn add react-native-modest-cache
Usage
cache // (key, value, expiryDateInMinutes)cache // Default to 60 mincachecache // truecache // falsecache // undefinedcache // 90cache // Object {hello: "Friend"} cachecache // undefined cachecache // falsecache // 50 cachecache
Contribute
Contributions are welcome. Please open up an issue or create PR if you would like to help out.
License
Licensed under the MIT License.