Use FileSaver.js to save files on the client-side
mastersaveAs() interface for browsers that do not natively support it. It is used to save files (like text or images) directly from the client-side, which is useful for web applications that generate files dynamically or need to handle sensitive information without sending it to an external server.