Skip to content

Instantly share code, notes, and snippets.

@dance2die
Created September 9, 2017 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dance2die/bad081a2b6087d35308b0296a2e43dea to your computer and use it in GitHub Desktop.
Save dance2die/bad081a2b6087d35308b0296a2e43dea to your computer and use it in GitHub Desktop.
access environment variable from Node app
getAuth = () => {
const password = process.env.GITHUB_DEVELOPER_KEY;
return {
username: "dance2die",
password: password
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment