I tried to use this with a React app but webpack throws an error about node urls. Looking through the documentation, I'm guessing this is expected.
This makes me think you've built this for backend usage.
Running user-generated code on the backend is not as much of a security risk as the front end. I can easily isolate a container or run user code in a lambda. I need this for the front end.