0.0.2 • Published 4 years ago

@iommi/ngxs-ionic-storage v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

NgxsIonicStorage

It's an NGXS Storage Plugin implementation made for using IonicStorage

It make possible to automatically save your NGXS state in any of this storages:

  • SQLite
  • IndexedDB
  • WebSQL
  • LocalStorage

Config Options

PROPERTYTYPEDEFAULT VALUEDESCRIPTION
keystring@@STOREMain key name
namestring_ionicstorageStorage name;
versionnumber1.0Storage version, needed for storage updates
storeNamestring_ionickvMain store name
descriptionstringStorage description
driverOrderstring[]['sqlite', 'indexeddb', 'websql', 'localstorage']Indicates the storage order preferences, it tries to save in the first storage, if it's impossibile it tries on the next and so on.

for more informations check out the IonicStorage original documentation

Built With

  • Angular vers. 9.0 - Platform for building mobile and desktop web applications
  • IonicStorage - Library to store key/value pairs and JSON objects
  • NGXS - State management pattern + library for Angular
  • NGXS Async Storage Plugin - NGXS Plugin to persist the state on the client asynchronously

Authors

  • Thomas Iommi - Initial work - GitHub

License

This project is licensed under the MIT License - see the LICENSE.md file for details