Zipping files from supabase

I am trying to get some pdf files from supabase storage download them as a zip I have been looking into different libraries for this like zip.js and jszip but I can’t seem to install either of these either through the NPM plugin or by using statechanges embeder. Could someone let me know how to get either of these working in weweb or let me know of another way to download a zip file of pdf’s from supabase.

Thanks!

1 Like

I think you could even make it into an Edge Function, but I think some front-end libraries should work, even the ones you mentioned.

1 Like

Did you find a solution for download files as a zip from Supabase or handle it by the client browser
?

Yeah we ended up going with an edge function. Which has been working well

1 Like