I am building an NPM package that will be sending events to my API. I want to use this across multiple apps so I would like to turn it into a package. Currently, I have variable