The W3C File API includes a FileSaver interface, which makes saving generated data as easy as saveAs(data, filename), though unfortunately it will eventually be removed from the spec. I have written a JavaScript library called FileSaver.js, which implements FileSaver in all modern browsers. Now that it's possible to generate any type of file
The .zip file available for download includes all modules from the Arcgis API for JavaScript as well as all Dojo packages (hence the increased size).
A JavaScript library to zip and unzip files Create a zip file demo. choose temporary storage. add files into the zip; view zip content. set zip file name; download the zip file Download
This is a list of file formats used by computers, organized by type. Filename extensions are usually noted in parentheses if they differ from the file format name or abbreviation. JavaScript All rights reserved