@iommi/ngxs-ionic-storage
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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

PROPERTY TYPE DEFAULT VALUE DESCRIPTION
key string @@STORE Main key name
name string _ionicstorage Storage name;
version number 1.0 Storage version, needed for storage updates
storeName string _ionickv Main store name
description string Storage description
driverOrder string[] ['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

Package Sidebar

Install

npm i @iommi/ngxs-ionic-storage

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

113 kB

Total Files

26

Last publish

Collaborators

  • thomas_iommi