All Projects → staltz → Gun Asyncstorage

staltz / Gun Asyncstorage

Licence: mit
Use Gun.js in React Native through AsyncStorage

Programming Languages

typescript
32286 projects

Gun AsyncStorage

Interop layer between Gun.js and React Native's AsyncStorage. In other words, allows you to use Gun.js in React Native apps!

Installation

npm install gun-asyncstorage

Usage

In index.ios.js or index.android.js import this before importing anything else related to Gun:

import 'gun-asyncstorage';

And that's it, all data that is written to the Gun instance will be stored (and recovered) from AsyncStorage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].