Await in node repl (started using api)

Viewed 96

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 Answers
Related