Stream interface around console methods
Install with component(1):
$ component install jwerle/console-stream
console
- AConsole
objectfn
- The method name to write with (default: log)
var ConsoleStream = require('console-stream');
var stream = require('through')();
var cstream = ConsoleStream(console);
stream.pipe(cstream);
stream.write('beep');
MIT