Skip to content

Glossary: Node.js Basics

readline

Also written: createInterface, node:readline/promises, question

A built-in module whose `createInterface` turns a Readable stream into complete lines. The promise version has `question()` to ask the user something.

Where the book teaches it

Related terms

StreamcrlfDelay