nolanlawson / node-websql

The WebSQL Database API, implemented for Node.js
Apache License 2.0
89 stars 36 forks source link

SQL.js #27

Closed brodycj closed 6 years ago

brodycj commented 6 years ago

I have a client who is interested in using Web SQL API for testing in a browser, without need for the Cordova framework itself. Built-in Web SQL is not suitable for reasons such as:

I think the obvious solution is to use SQL.js.

While the implementation should be straightforward I think it would be nice to avoid duplicated efforts if possible.

nolanlawson commented 6 years ago

The goal of node-websql is to implement the WebSQL API. I'm not really maintaining it anymore or looking to move it in another direction, but if you would like to use node-websql to implement what you're talking about, it should be possible. Using the plugin API, you can implement your own SQLite bindings under the hood (or mock it out using SQL.js). Not sure if that helps, but those are my current goals for the project… also feel free to fork. :)