example/asyncfile/src/fileReader.js
function fileReader(moduleMeta) {
  // Read file from disk and return a module meta
  return pstream(readFile(moduleMeta.path))
    .then(function(text) {
      return {
        source: text
      };
    }, log2console);
}
function fileReader(moduleMeta) {
  // Read file from disk and return a module meta
  return pstream(readFile(moduleMeta.path))
    .then(function(text) {
      return {
        source: text
      };
    }, log2console);
}
function fileReader ( moduleMeta ) { // Read file from disk and return a module meta return pstream ( readFile ( moduleMeta . path ) ) . then ( function ( text ) { return { source : text } ; } , log2console ) ; }
Function that reads file from disk

@param {object} moduleMeta - Module meta with information about the module being loaded
Function that reads file from disk