inflate
pure javascript inflate implemented as a through stream
Last updated 13 years ago by chrisdickinson .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install inflate 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.7                                ...           latest (13 years ago)

7 Versions

  • 0.0.7                                ...           13 years ago
  • 0.0.6                                ...           13 years ago
  • 0.0.5                                ...           13 years ago
  • 0.0.4                                ...           13 years ago
  • 0.0.3                                ...           13 years ago
  • 0.0.2                                ...           13 years ago
  • 0.0.1                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |