title: JavaScript Library to Bridge IndexedDB and WebSQL
body: <p>I'm curious if there is a library or a project out there to provide a generic interface to IndexedDB or to WebSQL, depending on user's browser's support. If they're using Chrome/Safari, use WebSQL, if they're using Firefox or Internet Explorer, use IndexedDB.</p>
  
  <p>The poster of <a href="https://stackoverflow.com/questions/3154795/indexdb-websql-in-4-months">this question</a> appears to have homegrown a solution, but did not provide any source code.</p>