Like browser storage api's that have tests and just work?  stor supports LocalFileSystem, indexedDB, WebSQL and LocalStorage with a unified API.