An open API service indexing awesome lists of open source software.

https://github.com/hecom-rn/storage

持久化存储模块。
https://github.com/hecom-rn/storage

Last synced: about 1 year ago
JSON representation

持久化存储模块。

Awesome Lists containing this project

README

          

# Storage

[![npm version](https://img.shields.io/npm/v/@hecom/storage.svg?style=flat)](https://www.npmjs.com/package/@hecom/storage)
[![Build Status](https://travis-ci.com/hecom-rn/Storage.svg?branch=master)](https://travis-ci.com/hecom-rn/Storage)

这是对于持久化存储库[@react-native-async-storage/async-storage](https://github.com/react-native-async-storage/async-storage)的进一步封装,加入了前缀管理,以及存储区的判重逻辑,对外隐藏了前缀的实现。

前缀分为两种:一种是Common前缀,表示跟用户无关的数据存储;一种是User前缀,表示用户相关的数据存储。