Sha256: c83d87b3aa16858bd55d0d586cf81cb5e4aa1e45f510890fea80478c0ac332d0
Contents?: true
Size: 296 Bytes
Versions: 7
Compression:
Stored size: 296 Bytes
Contents
var through = require('through2'); module.exports = function (file, opts) { var data = ''; return through(write, end); function write (buf, enc, next) { data += buf; next() } function end () { this.push(data.replace(/X/g, opts.x)); this.push(null); } };
Version data entries
7 entries across 7 versions & 2 rubygems