Eugene Loy
Eugene Loy

Reputation: 12426

Await in node repl (started using api)

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

Answers (0)

Related Questions