12 lines
230 B
JavaScript
12 lines
230 B
JavaScript
|
'use strict'
|
||
|
const stream = require('stream')
|
||
|
module.exports = class ExtendTransform extends stream.Transform {
|
||
|
constructor (opts) {
|
||
|
super(opts)
|
||
|
}
|
||
|
_transform (data, enc, done) {
|
||
|
this.push(data, enc)
|
||
|
done()
|
||
|
}
|
||
|
}
|