env-server.js 203 Bytes
var http = require('http');

http.createServer(function (req, res) {
  res.writeHead(200, { 'Content-Type': 'application/json' });
  res.write(JSON.stringify(process.env));
  res.end();
}).listen(8080);