All Projects → ng-web-apis → storage

ng-web-apis / storage

Licence: MIT license
A library to use Web Storage API with Observables

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
Less
1899 projects

Projects that are alternatives of or similar to storage

Recoil Persist
Package for recoil state manager to persist and rehydrate store
Stars: ✭ 66 (+53.49%)
Mutual labels:  storage, localstorage
ng2-storage
A local and session storage wrapper for angular 2.
Stars: ✭ 14 (-67.44%)
Mutual labels:  storage, localstorage
Vlf
A Vue plugin from localForage.vue-localForage or vlf
Stars: ✭ 99 (+130.23%)
Mutual labels:  storage, localstorage
Vue Ls
💥 Vue plugin for work with local storage, session storage and memory storage from Vue context
Stars: ✭ 468 (+988.37%)
Mutual labels:  storage, localstorage
Store.js
Cross-browser storage for all use cases, used across the web.
Stars: ✭ 13,656 (+31658.14%)
Mutual labels:  storage, localstorage
Vuex Persistedstate
💾 Persist and rehydrate your Vuex state between page reloads.
Stars: ✭ 5,561 (+12832.56%)
Mutual labels:  storage, localstorage
Vuex Localstorage
Persist Vuex state with expires by localStorage or some else storage.
Stars: ✭ 129 (+200%)
Mutual labels:  storage, localstorage
nativestor
NativeStor provide kubernetes local storage which is light weight and high performance
Stars: ✭ 20 (-53.49%)
Mutual labels:  storage, localstorage
Remotestorage.js
⬡ JavaScript client library for integrating remoteStorage in apps
Stars: ✭ 2,155 (+4911.63%)
Mutual labels:  storage, localstorage
Vue Warehouse
A Cross-browser storage for Vue.js and Nuxt.js, with plugins support and easy extensibility based on Store.js.
Stars: ✭ 161 (+274.42%)
Mutual labels:  storage, localstorage
Localforage
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
Stars: ✭ 19,840 (+46039.53%)
Mutual labels:  storage, localstorage
Brownies
🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes.
Stars: ✭ 2,386 (+5448.84%)
Mutual labels:  storage, localstorage
Angular Locker
🗄️ A simple & configurable abstraction for local/session storage in angular js projects
Stars: ✭ 318 (+639.53%)
Mutual labels:  storage, localstorage
Proxy Storage
Provides an adapter for storage mechanisms (cookies, localStorage, sessionStorage, memoryStorage) and implements the Web Storage interface
Stars: ✭ 10 (-76.74%)
Mutual labels:  storage, localstorage
Immortaldb
🔩 A relentless key-value store for the browser.
Stars: ✭ 2,962 (+6788.37%)
Mutual labels:  storage, localstorage
Store
A better way to use localStorage and sessionStorage
Stars: ✭ 1,646 (+3727.91%)
Mutual labels:  storage, localstorage
vue-web-storage
Vue.js plugin for local storage and session storage (1.8 kb min+gz) 💾
Stars: ✭ 85 (+97.67%)
Mutual labels:  storage, localstorage
ddrive
A lightweight cloud storage system using discord as storage device written in nodejs
Stars: ✭ 25 (-41.86%)
Mutual labels:  storage, localstorage
React Storage Hooks
React hooks for persistent state
Stars: ✭ 146 (+239.53%)
Mutual labels:  storage, localstorage
Flutter localstorage
📦flutter localstorage for ios/android/desktop/web
Stars: ✭ 206 (+379.07%)
Mutual labels:  storage, localstorage

ng-web-apis logo Web Storage API for Angular

Part of Web APIs for Angular

npm version npm bundle size .github/workflows/ci.yml Coveralls github angular-open-source-starter

This is a library to use Web Storage API with Angular.

Install

If you do not have @ng-web-apis/common:

npm i @ng-web-apis/common

Now install the package:

npm i @ng-web-apis/storage

How to use

Web Storage API consists of storage synthesis and storage recognition.

  1. Use STORAGE_EVENT token to inject an Observable of StorageEvent.
  2. Use filterByKey and toValue utility operators to work with this Observable.
  3. Native StorageEvent only fires when changes are made from another tab. To capture events from the same tab use StorageService to work with localStorage

See demo for concrete usage example.

See also

Other Web APIs for Angular by @ng-web-apis

Open-source

Do you also want to open-source something, but hate the collateral work? Check out this Angular Open-source Library Starter we’ve created for our projects. It got you covered on continuous integration, pre-commit checks, linting, versioning + changelog, code coverage and all that jazz.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].