I am using leaflet routine machine and mapbox to get routes. All works fine and I can console.log the route out but ideally I would like to save the geojson data to a text file so I can do testing without calling the API every time and I can change things too. I am using javascript with a browser, I can only see example in node.js, is this the only way?
Any ideas?