createObjectURL

external fun createObjectURL(obj: URLSource): String(source)

The createObjectURL() static method of the URL interface creates a string containing a blob URL pointing to the object given in the parameter.

MDN Reference