gildas-lormeau / zip.js

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
https://gildas-lormeau.github.io/zip.js
BSD 3-Clause "New" or "Revised" License
3.39k stars 510 forks source link

Expose mimeTypes #327

Closed Sharcoux closed 2 years ago

Sharcoux commented 2 years ago

Would you be ok to export the mimeTypes variable from mime-types.js file? If not publicly, at least export it from the file so we can import it. On mobile, we rely on a filePicker that requires us to pass all the images/* or audio/* mime types. We would like to manipulate the object to retrieve those. We don't mind importing it from '@zip.js/zip.js/dist/...

Sharcoux commented 2 years ago

Thanks a lot! ❤️

gildas-lormeau commented 2 years ago

You're welcome!