How to use zlib in ionic v2 project


#1

I need to be able to decompress data that I receive, like this:

Zlib.Gunzip(atob(data)).decompress()

How can I get the Zlib library into my Ionic v2 project to be able to use it like that?

Thank you.


#2

Have you looked at pako?