Node.js Readline

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • const readline = require('readline')
  • readline.close()
  • readline.pause()
  • readline.prompt([preserveCursor])
  • readline.question(query, callback)
  • readline.resume()
  • readline.setPrompt(prompt)
  • readline.write(data[, key])
  • readline.clearLine(stream, dir)
  • readline.clearScreenDown(stream)
  • readline.createInterface(options)
  • readline.cursorTo(stream, x, y)
  • readline.emitKeypressEvents(stream[, interface])
  • readline.moveCursor(stream, dx, dy)


Got any Node.js Question?