How to use getBodyOfZIPResourceFile?

I am creating a custom component and would like to access a html file stored as a static resource within my component. Can I use this function or is there any other way for accessing the static resource within javascript. 


Is it possible to get the current url of the static resource?