A lightweight wrapper around localStorage to make it work like you think it does
import storee from 'storee';
const store = storee();
store.set('count', 10);
const count = store.get('count'); // 10
store.set('people', ['Woody', 'Buzz']);
const [ woody, buzz ] = store.get('people');
- Storing
'true'
or'false'
(strings) will be cast to booleans when retrieved