FileSaver.js implements the HTML5 W3C saveAs() FileSaver interface in browsers that do not natively support it
FileSaver.js is the solution to saving files on the client-side, and is perfect for web applications that need to generate files, or for saving sensitive information that shouldn't be sent to an external server.