Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

9 lines
200 B
JavaScript

var through = require('through2');
module.exports = function (file) {
return through(function (buf, enc, next) {
this.push(String(buf).replace(/XXX/g, '123'));
next();
});
};