Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 357 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 357 Bytes

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)}