DuckDB now has a Node.js API
github.com
github.com
I ended up back on sqlite3. It seemed cool though; might pick it up again for a future project.
With DuckDB you can just load it once into the database then use dplyr/dbplyr to transparently access data with the queries pushing down to the DB afaik. And it runs anywhere and doesn't need local admin (like most database servers).
(SQLLite can't handle many columns without a custom build)