Spaces:
Configuration error
Configuration error
Telegram-Chat-Bot
/
node_modules
/rollup-plugin-node-polyfills
/polyfills
/readable-stream
/passthrough.js
import {Transform} from './transform'; | |
import {inherits} from 'util'; | |
inherits(PassThrough, Transform); | |
export default PassThrough; | |
export function PassThrough(options) { | |
if (!(this instanceof PassThrough)) return new PassThrough(options); | |
Transform.call(this, options); | |
} | |
PassThrough.prototype._transform = function (chunk, encoding, cb) { | |
cb(null, chunk); | |
}; | |