Await in node repl (started using api)

155 Views Asked by At

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('> ')
0

There are 0 best solutions below