Friday 17 March 2017

Using future es features in REPL?

I have something like this:import repl from "repl" var replServer = repl.start({ prompt: "> ", }) I've got knex hooked up to it and my models in context and it's great. I can use the models to update the db from the REPL. BUT I can't use say the 'await' keyword. Does anyone know how I might set that up?

Submitted March 17, 2017 at 09:05PM by coderbee

No comments:

Post a Comment