Socket
Book a DemoInstallSign in
Socket

@lukso/controllerapps-sharedlogic-mmkv-adapter

Package Overview
Dependencies
Maintainers
2
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lukso/controllerapps-sharedlogic-mmkv-adapter

**MMKVAdapter** is a lightweight implementation of the `StorageAdapter` using [react-native-mmkv](https://github.com/mrousavy/react-native-mmkv). It plugs into the SchemaVersionedStorageWrapper, allowing you to have all the advantages of the wrapper with

latest
npmnpm
Version
0.17.0
Version published
Maintainers
2
Created
Source

MMKVAdapter

MMKVAdapter is a lightweight implementation of the StorageAdapter using react-native-mmkv. It plugs into the SchemaVersionedStorageWrapper, allowing you to have all the advantages of the wrapper with MMKV as the underlying storage mechanism.

For full details on schema migrations and the overall API, please refer to the SchemaVersionedStorageWrapper README.

Features

  • Implements the StorageAdapter using react-native-mmkv
  • Designed for use with SchemaVersionedStorageWrapper

Installation

yarn add @lukso/controllerapps-sharedlogic-mmkv-adapter

Ensure you have set up MMKV properly in your React Native project. Follow the installation guide.

Usage

The MMKVAdapter is used internally by the higher-level MMKVStore (which wraps SchemaVersionedStorageWrapper). For example:

import { MMKVConfiguration } from 'react-native-mmkv';
import { MMKVAdapter } from '@lukso/controllerapps-sharedlogic-mmkv-adapter';

const configuration: MMKVConfiguration = {...}
const adapter = new MMKVAdapter(configuration);

(async () => {
  const store = await SchemaVersionedStorageWrapper.load(
      adapter,
      'profiles',
      migrations
    )
  await store.put({ name: 'Alice', age: 28 });
})();

FAQs

Package last updated on 08 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.