FileSaver.js window.saveAs API functionality rewritten for es6
npm i -S save-as
import saveAs from 'save-as'
let blob = new Blob(['Hello, world!'], { type: 'text/plain;charset=utf-8' })
saveAs(blob, 'hello world.txt')
FileSaver.js window.saveAs API functionality rewritten for es6
FileSaver.js window.saveAs API functionality rewritten for es6
npm i -S save-as
import saveAs from 'save-as'
let blob = new Blob(['Hello, world!'], { type: 'text/plain;charset=utf-8' })
saveAs(blob, 'hello world.txt')
FileSaver.js window.saveAs API functionality rewritten for es6
MIT License