Skip to content

Instantly share code, notes, and snippets.

@whaaaley
Created October 29, 2018 20:54
Show Gist options
  • Save whaaaley/2f7a5790c512a621f6afdf6bd3dd310e to your computer and use it in GitHub Desktop.
Save whaaaley/2f7a5790c512a621f6afdf6bd3dd310e to your computer and use it in GitHub Desktop.
const env = process.env
let result = ''
for (let key in env) {
result += '$' + key + ': \'' + env[key] + '\';\n'
}
process.stdout.write(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment