IndexedDB Polyfill over WebSql

A polyfill to enable IndexedDB using WebSql.
IndexedDB is not supported on all browsers. This IndexedDB polyfill exposes the IndexedDB API in unsupported browsers using WebSQL. This shim is basically an IndexedDB-WebSql adapter.
Check out my blog for updates.

Download

Download the polyfill
To keep the code manageable, the modules are in different files. The link above is simply a concatenation of all these files. You can build a development or production (minified) version by running the default task in the gruntfile. The two files will be put in the dist folder. You can also concantenate them again with javascript and download that copy using this link.

Test Cases

Run the test cases to see how the polyfill performs on your non-IndexedDB supported browser like Opera or Safari. It also works on Chrome as Chrome also has WebSQL. This would run on devices like the iPad and the iPhone too !!

Libraries tested to work with the shim

The polyfill implements the IndexedDB API specification. The following libraries have examples that work with the polyfill.

Source Code

Fork the repository on github. The source code is licensed under Apache 2.0.
The implementation is not 100% to the spec and some work still needs to be done. There are a couple of open issues to be fixed
Send out a pull request if you would like to help !!

Other IndexedDB links

Credits

A big thanks to the contributors to this project.
Fork me on GitHub