bytesWritten
Number of bytes written through this compression stream so far.
From the Node.js documentation:
The zlib.bytesWritten property specifies the number of bytes written to the engine, before the bytes are processed (compressed or decompressed, as appropriate for the derived class).