0.0.7 • Published 11 years ago

inflate v0.0.7

Weekly downloads
59
License
-
Repository
github
Last release
11 years ago

inflate

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

var inflate = require('inflate')

your_input
  .pipe(inflate())
  .on('unused', function(unused_buffer, num_bytes_read) {

  })
  .pipe(your_output)

API

inflate(should_output=true, should_adler=true) -> inflate stream

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

inflate.recycle() -> inflate stream

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

License

MIT

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago