How to convert csv file data to json object in reactjs?

I want to get csv file from input tag and convert data of csv file into json object. Is there any plugin in react js or any custom code ?