promises - Node documentation
namespace promises
Unstable

Usage in Deno

import { promises } from "node:readline";

Classes

c
promises.Interface

Instances of the readlinePromises.Interface class are constructed using thereadlinePromises.createInterface() method. Every instance is associated with a single input Readable stream and a single output Writable stream. The output stream is used to print prompts for user input that arrives on, and is read from, the input stream.

c
promises.Readline
No documentation available

Functions

f
promises.createInterface

The readlinePromises.createInterface() method creates a new readlinePromises.Interfaceinstance.