Script for create table in postgreSql after parse .csv file with Headers: "Ник", "Email", "Зарегистрирован", "Статус".
You should install dependencies with npm install
.
You can specify the path to .csv file in arguments when start script - just write node index.js (/pathToFile/fileName.csv)
in terminal. If you don`t specify path - default value is: '/data/file.csv'.