A cross-browser wrapper for IndexedDB