// test browserify transform// changes all instances of 'foo' to 'bar'var through = require('through2');
module.exports = function (file) {
returnthrough(function (buf, enc, next) {
this.push(buf.toString('utf8').replace(/foo/g, 'bar'));
next();
});
};