The following examples demonstrate how it is possible to generate and save any type of data right in the browser using the W3C saveAs() FileSaver interface, without contacting any servers.
Saving with filenames is only available in browsers that natively support either LocalFileSystem or FileSaver, such as Google Chrome 14 dev.