internal export function print ( data ) { return new Promise ( ( resolve , reject ) : void => { process . stdout . write ( data , ( err ) => { if ( err ) return reject ( err ) ; resolve ( ) ; } ) ; } ) ; }