Currently, JSZip exposes a lot of internal functions :
These functions/objects are not documented and in my opinion not really useful outside JSZip. The base64/crc32/utf8 methods may have some uses for other people but their signatures are sometimes surprising (utf8encode takes a string and return a string for example).
I think we should deprecate the list above (keep them internally but flag their inclusion in the public API as deprecated).
Thoughts, anyone ?
Yep, deprecating from the public API sounds good to me
Fix #123, deprecate functions
I have a question, why base64 should be abandoned?
So far as I can tell passing base64 string as an input for reading zip is the only common method for in-memory file handling between node and browser.
Or there are another ways I'm missing?
Thank you so much in advance for your answer.
@shytikov this deprecates the object JSZip.base64, not the support of base64 input/output.
Regarding the node <-> browser communication, I would use xhr.responseType = "arraybuffer" (if you can ignore IE <= 9)
xhr.responseType = "arraybuffer"