An HTML5 saveAs() FileSaver implementation Source: https://github.com/eligrey/FileSaver.js https://eligrey.com/blog/saving-generated-files-on-the-client-side/