co-repl

Repl with yield

npm install co-repl
1 downloads in the last week
11 downloads in the last month

Co-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 -g co-repl

Usage

$ co-repl
> var foo = yield function(cb){return setTimeout(function(){cb(null, 'foo')}, 500)}
npm loves you