not sure how useful this is, is the database stored in memory? how is it persistent?
also non-blocking access is key otherwise you can easily freeze the UI.
I'm guessing this is in memory, the main purpose would be for you to use sqlite in the browser since node already has a sqlite driver, as such, IO blocking is not an issue because there is no IO, it can block the same way that cpu intensive code can block however