All Projects → crossjs → Vuex Localstorage

crossjs / Vuex Localstorage

Persist Vuex state with expires by localStorage or some else storage.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vuex Localstorage

Vuex Persistedstate
💾 Persist and rehydrate your Vuex state between page reloads.
Stars: ✭ 5,561 (+4210.85%)
Mutual labels:  storage, vuex, localstorage
Nano Sql
Universal database layer for the client, server & mobile devices. It's like Lego for databases.
Stars: ✭ 717 (+455.81%)
Mutual labels:  persistence, localstorage
Vue Ls
💥 Vue plugin for work with local storage, session storage and memory storage from Vue context
Stars: ✭ 468 (+262.79%)
Mutual labels:  storage, localstorage
Vue Music Player
🎵Vue.js写一个音乐播放器+📖One(一个).A music player + One by Vue.js
Stars: ✭ 729 (+465.12%)
Mutual labels:  vuex, localstorage
Angular Locker
🗄️ A simple & configurable abstraction for local/session storage in angular js projects
Stars: ✭ 318 (+146.51%)
Mutual labels:  storage, localstorage
Preferenceroom
🚚 Android processing library for managing SharedPreferences persistence efficiently and structurally.
Stars: ✭ 341 (+164.34%)
Mutual labels:  storage, persistence
Notepad
基于vue2.0+vuex+localStorage+sass+webpack,实现一个本地存储的记事本。兼容PC端和移动端。
Stars: ✭ 597 (+362.79%)
Mutual labels:  vuex, localstorage
Recoil Persist
Package for recoil state manager to persist and rehydrate store
Stars: ✭ 66 (-48.84%)
Mutual labels:  storage, localstorage
Drive
☁️ A distributed cloud based lazy drive to files integrated with Dropbox, Google Drive.
Stars: ✭ 36 (-72.09%)
Mutual labels:  storage, vuex
Use Persisted State
A custom React Hook that provides a multi-instance, multi-tab/browser shared and persistent state.
Stars: ✭ 943 (+631.01%)
Mutual labels:  persistence, localstorage
Plato
❤️ a Boilerplate for [mobile] SPAs use vue, vuex, vue-router
Stars: ✭ 283 (+119.38%)
Mutual labels:  persistence, vuex
Vlf
A Vue plugin from localForage.vue-localForage or vlf
Stars: ✭ 99 (-23.26%)
Mutual labels:  storage, localstorage
Immortaldb
🔩 A relentless key-value store for the browser.
Stars: ✭ 2,962 (+2196.12%)
Mutual labels:  storage, localstorage
Localforage
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
Stars: ✭ 19,840 (+15279.84%)
Mutual labels:  storage, localstorage
zio-event-sourcing
Purely functional concurent and scalable persistance layer implementing CQRS
Stars: ✭ 34 (-73.64%)
Mutual labels:  storage, persistence
nativestor
NativeStor provide kubernetes local storage which is light weight and high performance
Stars: ✭ 20 (-84.5%)
Mutual labels:  storage, localstorage
ddrive
A lightweight cloud storage system using discord as storage device written in nodejs
Stars: ✭ 25 (-80.62%)
Mutual labels:  storage, localstorage
nft.storage
😋 Free decentralized storage and bandwidth for NFTs on IPFS and Filecoin.
Stars: ✭ 309 (+139.53%)
Mutual labels:  storage, persistence
Proxy Storage
Provides an adapter for storage mechanisms (cookies, localStorage, sessionStorage, memoryStorage) and implements the Web Storage interface
Stars: ✭ 10 (-92.25%)
Mutual labels:  storage, localstorage
Vue Mail List
vue全家桶+localStorage实现一个简易的通讯录
Stars: ✭ 81 (-37.21%)
Mutual labels:  vuex, localstorage

VUEX-LOCALSTORAGE

📀 Persist Vuex state with expires by localStorage or some else storage.

Travis Coveralls dependencies devDependency Status NPM version

Usage

import { Store } from 'vuex'
import createPersist from 'vuex-localstorage'

new Store({
  plugins: [createPersist({
    namespace: 'namespace-for-state',
    initialState: {},
    // ONE_WEEK
    expires: 7 * 24 * 60 * 60 * 1e3
  })]
}

Live Example at PLATO

Development Setup

# install deps
npm install

# build dist files
npm run build

# lint & run all tests
npm test

# run unit tests only
npm run unit

Special Thanks

vuex-persistedstate

License

MIT

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].