A versatile localStorage API that's typed, namespaced, and evented