Mreadline/promises
Bun

Node.js module

readline/promises

The 'node:readline/promises' module offers Promise-based variants of the readline API, allowing async/await usage for methods such as rl.question.

This simplifies writing asynchronous command-line interactions with clearer control flow.