DuckDB is exceptionally fast in reading CSV files and it can be used to write data directly into Postgres as well.
For the Node-GTFS project, I ran a quick benchmark here: BlinkTagInc/node-gtfs#148 (comment)
Then using DuckDB, the imported files could be modified and cleaned up directly in DuckDB, and then subsequently exported to Postgres: https://duckdb.org/docs/extensions/postgres.html#writing-data-to-postgresql