Reputation: 12426
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('> ')
Upvotes: 2
Views: 152