Solution to saving files on the client-side
HTML5 saveAs() FileSaver implementation . FileSaver.js implements the W3C HTML5 saveAs ( ) File Saver interface in browsers that do not natively support it . There is a FileSaver.js demo that shows savings of various media types .
FileSaver.js the solution to save files on the client – side , and is ideal for Web applications that need to create files , or to store sensitive information that should not be sent to an external server