# mrousavy/react-native-mmkv

⚡️ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!

Repository: https://github.com/mrousavy/react-native-mmkv
Canonical: https://ross.abutalabs.com/products/react-native-mmkv
Homepage: https://mrousavy.com
Language: TypeScript
License: MIT
License Family: permissive
Topics: mmkv, react, react-native, jsi, android, ios, turbomodule, native-module, cpp, jni, database, fast, localstorage, storage, nitro
Last push: 2026-08-23T17:09:46+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 89, longevity 100
- inputs: {"age_days": 2016, "days_push": 10, "days_rel": 72, "gap_med": 29.5, "n_releases_24m": 15}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8482, forks 338 (observed 2026-08-28T04:10:23.066145+00:00)

## What it is
A React Native library providing fast, synchronous key/value storage backed by Tencent's MMKV C++ framework via JSI and Nitro Modules. It supports strings, booleans, numbers, and ArrayBuffers with encryption, multiple instances, and iOS/Android/Web support.

## Use cases
- store user settings and preferences in a React Native app
- replace AsyncStorage with faster key-value storage
- persist small data synchronously without async/await
- encrypt locally stored user data on mobile
- separate per-user storage instances from global app data
- cache strings, numbers, and buffers on device

## When to choose
- you need the fastest possible key/value storage in React Native
- you want synchronous reads/writes without the bridge
- you need encrypted or multi-instance local storage on iOS/Android/Web

## When to avoid
- you need relational or complex queryable data (use SQLite instead)
- you target platforms outside iOS, Android, and Web
- you need large-file or blob storage rather than small key/value pairs

## Facets
- artifact type: library
- maturity: stable
- function: database, caching, serialization
- domain: mobile-development, databases, web-development
- platform: cross-platform
- tags: react-native, mmkv, key-value-storage, jsi, nitro-modules, localstorage, encryption, synchronous-api, ios, android, web

## Member repositories
- mrousavy/react-native-mmkv (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.066145+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:27:08.678821+00:00, confidence not recorded.
  - readme: https://github.com/mrousavy/react-native-mmkv (fetched 2026-08-28T04:10:23.066145+00:00, sha f01280621414)
  - homepage: https://mrousavy.com (fetched 2026-08-29T08:27:11.914176+00:00, sha cacb056158e6)
  - registry_npm: https://registry.npmjs.org/react-native-mmkv (fetched 2026-08-29T08:27:11.916578+00:00, sha 16c638414111)
- Data as of 2026-08-30T08:39:29.467469+00:00.
