Run the app on the command line with: node client.js. This implicitly loads server.js.
From Samir Buna's "Advanced NodeJS" course on Pluralsight
client.js
const EventEmitter = require('events');
const readline = require('readline');
const rl = readline.createInterface({