inflate

pure javascript inflate implemented as a through stream

inflate

streaming inflate in pure javascript (as a through stream).

var inflate = require('inflate')
 
your_input
  .pipe(inflate())
  .on('unused', function(unused_buffernum_bytes_read) {
 
  })
  .pipe(your_output)
 

create an inflate stream. each inflate stream carries a 32k memory overhead (for the window).

create a new inflate stream that recycles the output window (and JIT warmup) from the previous inflate stream.

MIT