This script is used to extract data from summary trip data in MCEasy VSMS database to a CSV file.
-
Build the script
Run the
npm run buildto compile ts file to js in build directory -
Running the Extraction Script
Run the
npm run startto run the extraction processYou need to fill the required env variable in .env
-
Converting CSV to XLSX
Use the
csvtoexcel.tsscript to convert the CSV output to XLSX.node build/csvtoexcel.js -
Compress XLSX file
You can use this website
https://www.clipcompress.com/excel-compress/to compress the XLSX file