0.0.1 • Published 7 years ago

es6-repl v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

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