Stop Googling. The answer is staring you right in the face—you just have to read it.
The package exposes a class that needs to be instantiated and the resolved promise that returns the getRenderer method of this instance is what you need to use in your code to render JavaScript ...