Skip to content

davidtai/akasha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Store with Cookie Fallback

Resources

License

Stars

Watchers

Forks

Packages

No packages published