I've got a JS file in the utils folder of a nodeJS project. That JS file is responsible for loading data from a database. Right now I only have dummy data that is put in a local JSON file. Now I want to load this local JSON file in my JS file. How do I do this?
I can't use HTTP requests because it's a local JSON file. I can't use use jQuery's