1 comment

[ 25.4 ms ] story [ 18.0 ms ] thread
MIT licensed source code: https://github.com/eligrey/FileSaver.js

In case it's not clear, this allows you to generate a file from client-side JS, and allow the user to save the generated file without first having to upload the generated file to the server.