Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
1
Maintainers
37
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

Storage backend for `Async Storage`, targeting Mobile platform (React-Native). Compatible with [former version of `Async Storage`](https://github.com/react-native-community/async-storage/tree/LEGACY/).


Version published
Weekly downloads
39K
decreased by-1.09%
Maintainers
37
Created
Weekly downloads
 

Readme

Source

Storage Backend: Legacy

Storage backend for Async Storage, targeting Mobile platform (React-Native). Compatible with former version of Async Storage.

Installation

  1. Get the core
$ yarn add @react-native-community/async-storage@next
  1. Get the the storage
$ yarn add @react-native-community/async-storage-backend-legacy@next

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);


export default storage;

License

MIT.

FAQs

Last updated on 02 Apr 2020

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