{"repo":"mrousavy/react-native-mmkv","free":true,"listed":false,"github":"https://github.com/mrousavy/react-native-mmkv","clone":"git clone https://github.com/mrousavy/react-native-mmkv.git","description":"⚡️ The fastest key/value storage for React Native. ~30x faster than AsyncStorage!","language":"TypeScript","stars":8470,"topics":["mmkv","react","react-native","jsi","android","ios","turbomodule","native-module","cpp","jni"],"license":"MIT","category":"mobile-apps","readme_excerpt":"V4 Docs old V3 Docs :--- :--- MMKV The fastest key/value storage for React Native. MMKV is an efficient, small mobile key-value storage framework developed by WeChat. See Tencent/MMKV for more information react-native-mmkv is a library that allows you to easily use MMKV inside your React Native app through fast and direct JS bindings to the native C++ library. Features Get and set strings, booleans, numbers and ArrayBuffers Fully synchronous calls, no async/await, no Promises, no Bridge. Encryption support (secure storage) Multiple instances support (separate user-data with global data) Customizable storage location High performance because everything is written in C++ 30x faster than AsyncStorage Uses JSI and C++ NitroModules instead of the \"old\" Bridge iOS , Android and Web support Easy to use React Hooks API [!IMPORTANT] - You're looking at MMKV V4. If you're still on V3, check out the V3 docs here ! - react-native-mmkv V4 is now a Nitro Module. See the V4 Upgrade Guide for more information. Benchmark StorageBenchmark compares popular storage libraries against each other by reading a value from storage for 1000 times: MMKV vs other storage libraries : Reading a value from Storage 1000 times. Measured in milliseconds on an iPhone 11 Pro, lower is better. Installation React Native Expo Usage Create a new instance To create a new instance of the MMKV storage, use the MMKV constructor. It is recommended that you re-use this instance throughout your entire app instead of creati","default_branch":null,"files":null,"tree":[],"storefront":"/r/mrousavy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mrousavy/react-native-mmkv/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}