mirror of
https://github.com/hanzoai/akasha.git
synced 2026-10-30 18:48:28 +00:00
1.5 KiB
1.5 KiB
akasha

Cross-browser storage with cookie-based fallback. Inspired by store.js.
Install
$ npm install akasha
Usage
import store from 'akasha';
// Store current user
store.set('user', {name: 'David'})
// Get current user
store.get('user')
// Remove current user
store.remove('user')
// Clear all keys
store.clear()