0

I'm using js-yaml to create a yaml file from form fields. As a result, I have a parsed Json data, smth like this:

import yaml from 'js-yaml';
const result = yaml.dump({"data":"someData", ...})

Is it possible to extract the result from the app? Smth like download link?

<a href='/somefile.txt' download>Click to download</a>

0 Answers0