I think this line is doing too much. I'd suggest separating into two steps:

    var SQLiteStore = require('connect-sqlite3')(express);
    var store = new SQLiteStore();