interfacex (npm): expose interface as event on document object or just expose it via this library
Keywords: expose|interface|as|event