I\'m using the better-sqlite3 NPM module which uses a native extension to talk to SQLite from an Electron app.
better-sqlite3
In order for this to work with Electron, I nee