Find out how to generate and then download any files (.txt, .json or .html) just with JavaScript in the Browser. No Server required!

When you’re used to be working only on JavaScript and sometimes needed to keep some data on your computer, you might have to implement some server-side code or some tricky HTML which weren’t working all times. Thanks to Blob API, nowadays we can download any file (clicking on button) with JS more efficiently and painlessly ;)

#javascript #programming

JS Download file on button click in the Browser without a Server
1.25 GEEK