This Node script is for testing Auth0 m2m token generation function. Once you execute this script as instructed below, it will print the token on console.
EXPORT AUTH0_URL = ""
EXPORT AUTH0_AUDIENCE = ""
EXPORT AUTH0_CLIENT_ID = ""
EXPORT AUTH0_CLIENT_SECRET = ""
EXPORT AUTH0_PROXY_SERVER_URL = ""
npm install
npm start