Have a separate casperjs script that just writes to stdout.  The node part will just use that as a stream for future things.