Socket
Socket
Sign inDemoInstall

@react-native-community/async-storage-backend-legacy

Package Overview
Dependencies
516
Maintainers
31
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @react-native-community/async-storage-backend-legacy

An `AsyncStorage` storage backend, fully compatible with former version.


Version published
Weekly downloads
44K
increased by8.98%
Maintainers
31
Install size
142 kB
Created
Weekly downloads
 

Readme

Source

Storage Backend: Legacy

An AsyncStorage storage backend, fully compatible with former version.

Installation

$ yarn add @react-native-community/async-storage-backend-legacy

Usage


import LegacyStorage from '@react-native-community/async-storage-backend-legacy';
import AsyncStorageFactory from '@react-native-community/async-storage';

type MyModel = {
  // ...your storage model
}

const legacyStorage = new LegacyStorage();

const storage = AsyncStorageFactory.create<MyModel>(legacyStorage);

// ready to use
export default storage;

License

MIT

FAQs

Last updated on 09 Dec 2019

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc