score:2

Accepted answer

I finally managed to save my file using saveAs function from https://github.com/eligrey/FileSaver.js/

var blob = new Blob([JSON.stringify(json)], {type: "text/plain;charset=utf-8"});  
saveAs(blob, "sequence_dl.JSON");


Related Query