2

One can run cli repl with await support like this:

node --experimental-repl-await

My question is: how do I do the same, but for repl, started from code using node api, similar to this:

const repl = require('repl')

repl.start('> ')
Eugene Loy
  • 12,224
  • 8
  • 53
  • 79

0 Answers0