es6-repl

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i es6-repl

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • sven199109