Created
November 9, 2012 00:54
-
-
Save ericelliott/4043017 to your computer and use it in GitHub Desktop.
dump environment settings to console from node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var env = process.env; | |
Object.keys(env).forEach(function(key) { | |
console.log('export ' + key + '="' + env[key] +'"'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment