https://github.com/alpheusday/unstorage-react-native-mmkv
A React Native MMKV driver for unstorage
https://github.com/alpheusday/unstorage-react-native-mmkv
javascript mmkv react react-native react-native-mmkv typescript unstorage
Last synced: 7 days ago
JSON representation
A React Native MMKV driver for unstorage
- Host: GitHub
- URL: https://github.com/alpheusday/unstorage-react-native-mmkv
- Owner: alpheusday
- License: mit
- Created: 2026-05-19T11:55:53.000Z (28 days ago)
- Default Branch: main
- Last Pushed: 2026-06-03T18:39:25.000Z (12 days ago)
- Last Synced: 2026-06-03T20:12:30.320Z (12 days ago)
- Topics: javascript, mmkv, react, react-native, react-native-mmkv, typescript, unstorage
- Language: TypeScript
- Homepage: https://npmx.dev/unstorage-react-native-mmkv
- Size: 224 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# unstorage React Native MMKV
A React Native MMKV driver for unstorage.
## Installation
> Both `unstorage` and `react-native-mmkv` are required to be installed.
Install this package as a dependency in the project:
```sh
# npm
npm i unstorage-react-native-mmkv
# Yarn
yarn add unstorage-react-native-mmkv
# pnpm
pnpm add unstorage-react-native-mmkv
# Deno
deno add npm:unstorage-react-native-mmkv
# Bun
bun add unstorage-react-native-mmkv
```
## Usage
```ts
import { createStorage } from "unstorage";
import { mmkvDriver } from "unstorage-react-native-mmkv";
const storage = createStorage({
driver: mmkvDriver(),
});
```
### Options
`mmkvDriver` accepts React Native MMKV [Configuration](https://github.com/mrousavy/react-native-mmkv/blob/main/packages/react-native-mmkv/src/specs/MMKV.nitro.ts) as options.
### Storage APIs
For the storage APIs, please refer to the [unstorage guide](https://unstorage.unjs.io/guide).
## Contributing
For contributing, please refer to the [contributing guide](./CONTRIBUTING.md).
## License
This project is licensed under the terms of the MIT license.