Skip to content

Instantly share code, notes, and snippets.

@chee
Created April 7, 2014 00:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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