Appearance
through
stream.Writable
import through from 'through' import { Writable } from 'node:stream' through(fn) new Writable({ write: (chunk, encoding, callback) => { fn(chunk) callback() } })