Looking for node.js Answers? Try Ask4KnowledgeBase
Looking for node.js Keywords? Try Ask4Keywords

Node.jsReadline


Sintaxis

  • const readline = require ('readline')
  • readline.close ()
  • readline.pause ()
  • readline.prompt ([preserveCursor])
  • readline.question (consulta, devolución de llamada)
  • readline.resume ()
  • readline.setPrompt (indicador)
  • readline.write (datos [, clave])
  • readline.clearLine (stream, dir)
  • readline.clearScreenDown (secuencia)
  • readline.createInterface (opciones)
  • readline.cursorTo (secuencia, x, y)
  • readline.emitKeypressEvents (flujo [, interfaz])
  • readline.moveCursor (secuencia, dx, dy)

Readline Ejemplos relacionados