Export Postgresql data to text files using typescript and typeorm – https://www.jjude.com/nodejs-psql/