06 2 / 2013
IDBWrapper is trying to do just that, making simple stuff like setting, getting, and deleting one or all records really easy, and making more complex stuff like queries simpler. It also deals with several cross browser inconsistencies (ironic, after what I just wrote about WebSQL, right?). IDBWrapper has been around since sometime in 2011, but just hit a 1.0 release, so I thought I’d mention it here.
You can find the code for IDBWrapper on Github, the up to date documentation, and two older blog posts that describe the API as more of a tutorial. Although the IndexedDB is kinda ugly by itself, libraries can help just like they have with many other ugly web APIs like the DOM in the past. Ugly or not, IndexedDB will be important in bringing offline web apps to the masses.