How to bring a dataset into your script

Hi, I’m a noob and haven’t been able to find a good resource on how to set up/host a csv or json file to then load into your script. Or how to convert a csv into a json file. Are there any tutorials or courses you could point me to?
Thank you!

Assuming you are using nodejs, it should be very simple with a helper library.