Closed benmccann closed 1 week ago
Can probably use a pass through stream instead
looks like in pino-pretty, readable-stream and pump are used to make a transform stream:
https://github.com/pinojs/pino-pretty/blob/fc408ee1b4cc81f62adb361eeada32b09810414f/index.js#L146-L153
maybe you could just use a Transform stream? like new Transform({transform: someFn})
Transform
new Transform({transform: someFn})
I've sent a PR for this
Can probably use a pass through stream instead