4 ms·You need to construct the stream with flush: require('zlib').Z_SYNC_FLUSHby jongleberry 13y agoYou need to construct the stream with flush: require('zlib').Z_SYNC_FLUSH