A localStorage wrapper that falls back to memory in private browsing mode.
npm install locastore
namespace is a string to prefix to each key.
Retrieve a key. If
localStorage.getItem() fails, falls back to memory store.
Store a key in memory and with
Removes a key from memory and
Removes all items from memory and localStorage within the namespace.
Removes all items from memory and localStorage.
(c) 2016 Kyle Robinson Young. MIT License