Introduction
These let your Node.js program read what a user types and show messages on the screen. They help your program talk with people.
When you want to ask the user a question and get their answer.
When you want to show messages or results in the terminal.
When you want to build simple command-line tools that interact with users.
When you want to read input from the keyboard in real time.
When you want to write output that the user can see immediately.