MMKV is an efficient, small mobile key-value storage framework developed by WeChat. react-native-mmkv is a library that allows you to easily use MMKV inside your React Native applications. It provides fast and direct bindings to the native C++ library which are accessible through a simple JS API. Get and set strings, booleans and numbers. Fully synchronous calls, no async/await, no Promises, no Bridge. Encryption support (secure storage). Multiple instances support (separate user-data with global data). Customize storage location. High performance because everything is written in C++. ~30x faster than AsyncStorage. Uses JSI instead of the "old" Bridge. iOS, Android and Web support. Easy to use React Hooks API. StorageBenchmark compares popular storage libraries against each other by reading a value from storage for 1000 times.

Features

  • A mocked MMKV instance is automatically used when testing with Jest
  • The fastest key/value storage for React Native
  • Get and set strings, booleans and numbers
  • Encryption support (secure storage)
  • Customize storage location
  • High performance because everything is written in C++
  • Multiple instances support (separate user-data with global data)

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow MMKV

MMKV Web Site

Other Useful Business Software
$300 in Free Credit Across 150+ Cloud Services Icon
$300 in Free Credit Across 150+ Cloud Services

VMs, containers, AI, databases, storage | build anything. No commitment to start.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale with Google Cloud.
Start Building Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MMKV!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Database Software

Registered

2022-07-21