title: Is there a way to get synchronous terminal input in Node.js
body: <p>I have looked at similar questions on SO and I have an ongoing question about if it is possible to get synchronous input from the command line.</p>
  
  <p>I know about <code>readline</code> and <code>process.stdin.on('readable', ...)</code> but both of those seem to be asynchronous.</p>
  
  <p>I am looking to for a way to prompt the user for input where code later on in my script does not run before there is user input.</p>