persistence.js is a simple asynchronous Javascript object-relational mapper library. It works with the in-browser HTML5 SQLite database as well as Google Gears' local data store. It may be used to develop offline-capable web applications. -
View it on GitHub