It is so cool that likely one of the fastest (especially compared to better-sqlite3
) sqlite bindings for Node.js out there is the one we use for Signal Desktop client.
https://github.com/signalapp/node-sqlcipher
I should find motivation to upstream my ideas to back to Node.js core (JS level parameter binding and row parsing through a compiled function), but I’m… too lazy for that. Happy to explain how it all works to anyone interested, though!