I'm currently using electron with nodejs and then using the plugin browserify to make it compatible online to make a website. One of the things I want to do is to have the user upload a file (csv), combine it with a text file that I generate, zip the two up, and then give them a "download zip" option that they can use to download the zip I generated. I would also want all of this to occur client-side.
What I need to happen is again:
- Generate a text file
- Have user upload csv
- Zip the two together
- Give the user a link to download zip
All client-side.
I've already searched online for methods to do this, but all the ways to implement a download link that I found either require the file to be a text file, or use fs/express or some other plugins that don't seem to work with browserify.
If what I'm asking for isn't possible, let me know so I don't waste time!
Thanks in advance!