Node.js-related shims necessary for the SSB ecosystem to run on React Native apps
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.gitignore
.npmignore
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

react-native-ssb-shims

Node.js-related shims necessary for the SSB ecosystem to run on React Native apps.

usage

First install it as a dependency in your project

npm install --save react-native-ssb-shims

Then "link" some dependencies (important!):

react-native link react-native-randombytes react-native-crypto react-native-os

And import it in your project's index.js:

require('react-native-ssb-shims');

Note

Mac users: in order to get the post-install scripts to run, you will first need to install coreutils through homebrew brew install coreutils