@gooddollar/gun-asyncstorage
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

/@gooddollar/gun-asyncstorage/

    Package Sidebar

    Install

    npm i @gooddollar/gun-asyncstorage

    Weekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    9.46 kB

    Total Files

    13

    Last publish

    Collaborators

    • lbwgd
    • sirpush
    • alexey-goddollar