How do I get my npm install to work?

I have the npm install, it is called sr-puzzlegen, it’s supposed to develop an image of a rubix cube based on it’s scramble in the console and I am trying to figure out how I can implement in my Wix website by displaying the image it produces.

Below is the link to the documentation, if anyone could help me figure out how to get this working that would be much appreciated.