This is good feedback, I'll look at adding Stripe integration as well as BTC.
4 karma · joined October 13, 2021
We will potentially move to import in the future, but people asked for require when the examples previously used imports.
With the package you can user import as an ES Module version is available:
> import M3O from 'm3o'; > const m3o = M3O(process.env.M3O_API_TOKEN);
Note: As long as the M3O_API_TOKEN environment variable is provided via a .env file then this is not required to be passed.