https://github.com/hecom-rn/storage
持久化存储模块。
https://github.com/hecom-rn/storage
Last synced: about 1 year ago
JSON representation
持久化存储模块。
- Host: GitHub
- URL: https://github.com/hecom-rn/storage
- Owner: hecom-rn
- License: mit
- Created: 2019-03-20T07:32:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-15T09:11:45.000Z (over 2 years ago)
- Last Synced: 2025-06-14T02:51:20.955Z (about 1 year ago)
- Language: TypeScript
- Size: 143 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Storage
[](https://www.npmjs.com/package/@hecom/storage)
[](https://travis-ci.com/hecom-rn/Storage)
这是对于持久化存储库[@react-native-async-storage/async-storage](https://github.com/react-native-async-storage/async-storage)的进一步封装,加入了前缀管理,以及存储区的判重逻辑,对外隐藏了前缀的实现。
前缀分为两种:一种是Common前缀,表示跟用户无关的数据存储;一种是User前缀,表示用户相关的数据存储。