--- title: "Download the generated zip file" layout: default section: example ---

The FileSaver API

{% include_relative download-zip-file.inc/blob.html %}
{% highlight js %} {% include_relative download-zip-file.inc/blob.js %} {% endhighlight %}
{% highlight html %} {% include_relative download-zip-file.inc/blob.html %} {% endhighlight %}

The data URL

{% include_relative download-zip-file.inc/data_uri.html %}
{% highlight js %} {% include_relative download-zip-file.inc/data_uri.js %} {% endhighlight %}
{% highlight html %} {% include_relative download-zip-file.inc/data_uri.html %} {% endhighlight %}