@rescript-react-native/keychain
Version:
ReScript bindings for react-native-keychain.
67 lines (47 loc) • 1.9 kB
Markdown
# `@rescript-react-native/keychain`
[](https://github.com/rescript-react-native/keychain/actions)
[](https://www.npmjs.com/@rescript-react-native/keychain)
[](https://forum.rescript-lang.org/)
[ReScript](https://rescript-lang.org) bindings for
[`react-native-keychain`](https://github.com/oblador/react-native-keychain).
Exposed as `ReactNativeKeychain` module.
`@rescript-react-native/keychain` X.y.\* means it's compatible with
`react-native-keychain` X.y.\*
## Installation
When [`react-native-keychain`](https://github.com/oblador/react-native-keychain)
is properly installed & configured by following their installation instructions,
you can install the bindings:
```console
npm install @rescript-react-native/keychain
# or
yarn add @rescript-react-native/keychain
```
`@rescript-react-native/keychain` should be added to `bs-dependencies` in your
`bsconfig.json`:
```diff
{
//...
"bs-dependencies": [
"@rescript/react",
"rescript-react-native",
// ...
+ "@rescript-react-native/keychain"
],
//...
}
```
## Usage
@todo
---
## Changelog
Check the [changelog](./CHANGELOG.md) for more informations about recent
releases.
---
## Contribute
Read the
[contribution guidelines](https://github.com/rescript-react-native/.github/blob/master/CONTRIBUTING.md)
before contributing.
## Code of Conduct
We want this community to be friendly and respectful to each other. Please read
[our full code of conduct](https://github.com/rescript-react-native/.github/blob/master/CODE_OF_CONDUCT.md)
so that you can understand what actions will and will not be tolerated.