Bunlong / react-papaparse

react-papaparse is the fastest in-browser CSV (or delimited text) parser for React. It is full of useful features such as CSVReader, CSVDownloader, readString, jsonToCSV, readRemoteFile, ... etc.
https://react-papaparse.js.org
MIT License
363 stars 60 forks source link

Function to parse .csv file #148

Open nalnir opened 1 year ago

nalnir commented 1 year ago

It's just a question if there is an exposed pure function that takes .csv file and parses it. According to docs I only see the CSVReader. I use my own element to browse and upload files so I only need a function for parsing, but I can't find it in docs. I see only readString, jsonToCSV, readRemoteFile but nothing like csvFileParse or something similar.