Skip to content

Use Gun.js in React Native through AsyncStorage

License

Notifications You must be signed in to change notification settings

arminsal1/gun-asyncstorage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 arminsal1/gun-asyncstorage --save

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.

About

Use Gun.js in React Native through AsyncStorage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%