printenv.js 185 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 var system = require('system'), env = system.env, key; for (key in env) { if (env.hasOwnProperty(key)) { console.log(key + '=' + env[key]); } } phantom.exit();