A React Native MMKV driver for unstorage.
Both
unstorageandreact-native-mmkvare required to be installed.
Install this package as a dependency in the project:
# 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-mmkvimport { createStorage } from "unstorage";
import { mmkvDriver } from "unstorage-react-native-mmkv";
const storage = createStorage({
driver: mmkvDriver(),
});mmkvDriver accepts React Native MMKV Configuration as options.
For the storage APIs, please refer to the unstorage guide.
For contributing, please refer to the contributing guide.
This project is licensed under the terms of the MIT license.