Skip to content

Tag: zip

Javascript create zip file

I am developing a website using react.js and admin-on-rest. One feature is allowing users to upload a pdf file. I get the file as type FILE and want to get the file from FILE, compress it to zip, and then make it to type FILE. So it should be FILE -> origin file -> zip file -> FILE from zip