0.0.1 • Published 7 years ago
es6-repl v0.0.1
Es6-repl
Write non-blocking code in a nice-ish way in a node.js repl. Based on Co.
NOTE
This is an ALPHA version. There are some problems with repl context.
Install
npm install es6-repl
Usage
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
0.0.1
7 years ago