I'm right now follow this to write a script in Nodejs to write to Google sheets API. However, It turns out my system is not conducive to setting environment variables for this task. I have the credentials json, and I'd imagine I can just place its contents as a variable in my script, right? The two environment variables this tutorial says to set are
export GCLOUD_PROJECT={project ID of your google project}
export GOOGLE_APPLICATION_CREDENTIALS=./service_account_credentials.json
How can I accomplish what this accomplishes, so my code authenticates WITHOUT setting/changing any env variables?