A library to use Web Storage API with Observables
npm install @ng-web-apis/storage


This is a library to use Web Storage API with
Angular.
If you do not have @ng-web-apis/common:
``bash`
npm i @ng-web-apis/common
Now install the package:
`bash`
npm i @ng-web-apis/storage
Web Storage API consists of storage synthesis and storage recognition.
1. Use WA_STORAGE_EVENT token to inject an Observable ofStorageEvent
.filterByKey
2. Use and toValue utility operators to work with this Observable.StorageEvent
3. Native only fires when changes are made from another tab. To capture events from the same tab useWaStorageService
to work with localStorage`
See demo for concrete usage example.
Other Web APIs for Angular by
@ng-web-apis