Skip to content

Instantly share code, notes, and snippets.

@dance2die

dance2die/env.js

Created Sep 9, 2017
Embed
What would you like to do?
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
You can’t perform that action at this time.