Re-write node stdout for updating progress updates etc:
var flickerlog = require( 'flickerlog' ),
flicker = flickerlog.flicker,
log = flickerlog.log;
flicker( 'flickerlog.flicker prints strings that get overwritten' );
setTimeout( function() {
log( 'flickerlog.log prints strings normally' );
}, 1000 );
looks like:
Note: If you mix flicker()
and console.log()
, you're gonna have a bad time.