How to use external JS API like PAPA PARSE in SAP UI5
I am working with CSV files where i need to import them and show them in SAP UI5 table before exporting it to HANA.
The issue is i need to convert the CSV file(in string format) to Array Format first. For this a simple split at ',' is not sufficient as a string might also contain a comma.
This API JS file is available in .js format file, which i am unable to attach as its not supported, so i am pasting the GIT link here: PapaParse/papaparse.min.js at master · mholt/PapaParse · GitHub
The issue i am facing now is how to use this js file, i've copied it to my folder, but how to load it(instantiate) and how to call its methods.
Can someone please help??