MCPcopy Index your code
hub / github.com/nodejs/node / createInterface

Function createInterface

lib/readline.js:211–213  ·  view source on GitHub ↗

* Creates a new `readline.Interface` instance. * @param {Readable | { * input: Readable; * output: Writable; * completer?: Function; * terminal?: boolean; * history?: string[]; * historySize?: number; * removeHistoryDuplicates?: boolean; * prompt?: string; * crlfDelay?: n

(input, output, completer, terminal)

Source from the content-addressed store, hash-verified

209 * @returns {Interface}
210 */
211function createInterface(input, output, completer, terminal) {
212 return new Interface(input, output, completer, terminal);
213}
214
215ObjectDefineProperties(Interface.prototype, {
216 // Redirect internal prototype methods to the underscore notation for backward

Callers 14

getVersionsFromFileFunction · 0.50
collectCliMdEnvVarNamesFunction · 0.50
runFunction · 0.50
runWriteSucceedFunction · 0.50
failWriteSucceedFunction · 0.50
runNodeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…