fleau.js
function(input, output, literal, cb) {
  var text = '';
  input.on ('data', function gatherer (data) {
    text += '' + data;   // Converting to UTF-8 string.
  });
  input.on ('end', function writer () {
    try {
      var write = function(data) { output.write(data); };
      template(text)(write, literal);
    } catch (e) {
      if (cb) { cb (e); }
    } finally {
      // There are streams you cannot end.
      try {
        output.end ();
      } catch (e) {} finally {
        if (cb) { cb (null); }
      }
    }
  });
}
function(input, output, literal, cb) {
  var text = '';
  input.on ('data', function gatherer (data) {
    text += '' + data;   // Converting to UTF-8 string.
  });
  input.on ('end', function writer () {
    try {
      var write = function(data) { output.write(data); };
      template(text)(write, literal);
    } catch (e) {
      if (cb) { cb (e); }
    } finally {
      // There are streams you cannot end.
      try {
        output.end ();
      } catch (e) {} finally {
        if (cb) { cb (null); }
      }
    }
  });
}
function ( input , output , literal , cb ) { var text = '' ; input . on ( 'data' , function gatherer ( data ) { text += '' + data ; // Converting to UTF-8 string. } ) ; input . on ( 'end' , function writer ( ) { try { var write = function ( data ) { output . write ( data ) ; } ; template ( text ) ( write , literal ) ; } catch ( e ) { if ( cb ) { cb ( e ) ; } } finally { // There are streams you cannot end. try { output . end ( ) ; } catch ( e ) { } finally { if ( cb ) { cb ( null ) ; } } } } ) ; }
Main entry point.  input and output are two streams, one readable, the other writable.
Main entry point . input and output are two streams one readable the other writable .