How to use PapaParse or Streaming-CSV-Workers to convert CSV to JSON?

Hi,

Can someone give an example to convert CSV to JSON using PapaParse or Streaming-CSV-Workers for Cloudflare workers? I keep getting import errors, probably there is some standard way to use them. I am trying to fetch a csv file from github link and then convert it to JSON with PapaParse/Streaming-CSV-Workers.

Anyone here?

This should point you in the right direction: https://blog.remeika.us/2023/07/07/parsing-csv-files.html

1 Like