port.js 105 Bytes
const argv = require('./argv');

module.exports = parseInt(argv.port || process.env.PORT || '3002', 10);