@scienceartmagic/ups
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

UPS

(Universal Persistence Storage)

Conditional imports of react-native-mmkv (React Native and Expo Bare/Standalone/Dev Client), @react-native-async-storage/async-storage and expo-secure-store (Expo Go), and localforage (web/Electron, unified API for localStorage, IndexedDB, and WebSQL, defaults to IndexedDB) with a simplified, unified API similar to that of AsyncStorage (namely getItem(), setItem(), removeItem())

Install (including peerDependencies)

npm i or yarn add @scienceartmagic/ups react-native-mmkv expo-secure-store @react-native-async-storage/async-storage localforage

Package Sidebar

Install

npm i @scienceartmagic/ups

Weekly Downloads

0

Version

0.0.6

License

MIT

Unpacked Size

29 kB

Total Files

24

Last publish

Collaborators

  • stereoplegic
  • scienceartmagicllc