I have used FileSaver.js
to save the blob as file.
This is the repo : https://github.com/eligrey/FileSaver.js/
Usage:
import { saveAs } from 'file-saver';
var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"});
saveAs(blob, "hello world.txt");
saveAs("https://httpbin.org/image", "image.jpg");