Skip to content

Commit

Permalink
updates readme
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpme committed Jan 17, 2022
1 parent 7e37a74 commit 72d0a7f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Expo Crypto Polyfills

Use this to polyfill crypto-related libraries without having to eject from Expo.
Use this to polyfill crypto-related libraries without having to eject from Expo. The goal of this library is to continue to work across all Expo-supported ecosystems (ios,android,web)

## Example

Expand All @@ -12,10 +12,9 @@ In your Expo project, create a metro.config.js file, then set extraNodeModules t

```js
// metro.config.js
const extraNodeModules = require("expo-crypto-polyfills");
module.exports = {
resolver: {
extraNodeModules,
extraNodeModules: require("expo-crypto-polyfills"),
},
};
```

0 comments on commit 72d0a7f

Please sign in to comment.