a synchronous prompt for node.js