JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 729
  • Score
    100M100P100Q115735F
  • License MIT

pure javascript inflate implemented as a through stream

Package Exports

  • inflate

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (inflate) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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() -> 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