Skip to content

Instantly share code, notes, and snippets.

@chee
Created April 7, 2014 00:18
Show Gist options
  • Save chee/10012956 to your computer and use it in GitHub Desktop.
Save chee/10012956 to your computer and use it in GitHub Desktop.
var through = require("through2");
module.exports = function () {
return through.obj(function(file, enc, callback) {
console.log(file, enc, callback);
this.push(file);
return callback();
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment