title: Is it possible to get JSON from a URL and save it as json file with a custom name inside a specified path/folder through the front end?
body: <p>My issue is simple on paper - I have a React Native project and I'm trying to make a script that will run on build and fetch JSON from a URL, then save it as JSON file with a custom name inside a specified path/folder. For example, I want to access the JSON at <code>www.example.com</code> and save it as a JSON file in <code>project/src/assets/locales/en.json</code></p>
  <p>The problem is that when I google how to fetch and save JSON, most of the results are related to Node.js and I don't think I can use them. Is what I'm trying to do possible?</p>