akasha

0.1.13 • Public • Published

akasha NPM version Build Status Coverage Status Dependency Status

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()

/akasha/

    Package Sidebar

    Install

    npm i akasha

    Weekly Downloads

    87

    Version

    0.1.13

    License

    MIT

    Unpacked Size

    20.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • artemis-prime
    • erikrakuscek
    • hanzo-io
    • zeekay