DuckDB nodeJS is now a [standalone repo](https://github.com/duckdb/duckdb-node/), which might make this easier to integrate.