Can not get stripe npm module to work

Silly me, I was trying to use an npm module from front end. Obviously you can only call from backend code.

I tried using the api directly and that worked. Then I noticed their node module and thought I’d try it.