I'm using zip.js to unzip .zip file. I know this library is useful and powerful, but I want to use it in React. The installation instruction is just for the general use. So how can I import the lib so that I can use it?
If you include it as mentioned in the documentation -
it should be available globally through the window.zip object, which you can access anywhere in a react application.
If you include it as mentioned in the documentation -
it should be available globally through the window.zip object, which you can access anywhere in a react application.