In my project I am using ngx-file-drop and angular 5.2.
I want to get all the column names of an uploaded CSV file. How can I do that?
I would recommend using csvtojson library, then you could convert your data from the file to a json object. https://www.npmjs.com/package/csvtojson#from-csv-file-to-json-array
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.