websql-sugar
Use this to build data access layers on top of websql, e.g:
var db = name: 'mydb' version: '1.1' moduleexports = { // readonly api // select queries can be issued from newTx() too // the singleSelectCallback will require the user of the result to write less boilerplate code // and just handle the actual data db } { db } { db // can just pass the arguments if they appear in the same order of the query parameters }
What's wrong with websql api?
-
who designs properties that throws exceptions? printing objects is like walking in a mine field and that is exactly what happens in a websql query result!
-
the callbacks are not in node.js convention :(