Write non-blocking code in a nice-ish way in a node.js repl. Based on Co.
This is an ALPHA version. There are some problems with repl context.
npm install es6-repl
var repl = require('es6-repl')
repl.start({
prompt: 'es6-node> ',
useColors: true
}).on('exit', () => process.exit())
In repl,
> var user = yield models.User.findOne()
> user