Am working on an offline application using HTML5 and jquery for mobile. i want to back up files from the local storage using jszip. below is a code snippet of what i have done...
Creating a new zip file using JSZip is straightforward. You instantiate a new JSZip object, which represents an empty zip archive. Subsequently, you add files and folders to this object before generating the final zip file.
JSZip A library for creating, reading and editing .zip files with JavaScript, with a lovely and simple API. See https://stuk.github.io/jszip for all the documentation.