Javascript function that triggers browser to save javascript-generated content to a file
github.com/kennethjiang/js-file-download
kennethjiang/js-file-download