Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gzip-stream

balena-io-modules17.6kApache-2.02.0.0

To create a valid gzip from many individual streams first use createDeflatePart() which returns a through stream to convert your parts to the deflated part. when this through stream emits the 'end' event you should call its metadata() function which wil

readme

gzip-stream

To create a valid gzip from many individual streams first use createDeflatePart() which returns a through stream to convert your parts to the deflated part. when this through stream emits the 'end' event you should call its metadata() function which will give you back an object in the form of { len, zLen, digest }

To create the final stream pass an array of objects in the form of { stream: your_readable_stream, len, zLen, digest } to createGzipStream() and you'll get back a readable stream that also has a zLen property containing the total bytes of the compressed stream.

changelog

Change Log

All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to Semantic Versioning.

v2.0.0

(2023-01-20)

  • Add support for Node 18 [Akis Kesoglou]
  • Build with Flowzone [Akis Kesoglou]

v1.1.2

(2020-11-30)

  • Add versionbot changelog [Alexis Svinartchouk]

v1.1.1

(2020-11-13)

  • Update resin-crc-utils -> @balena/node-crc-utils [Alexis Svinartchouk]

v1.1.0

(2020-09-15)

  • Export GZIP_HEADER and DEFLATE_END [Alexis Svinartchouk]
  • Remove lodash dependency [Alexis Svinartchouk]

v1.0.1

(2020-09-14)

  • Fix calls to no longer existing lodash pluck [Alexis Svinartchouk]

v1.0.0

(2020-09-10)

  • Remove deprecated "new Buffer()" calls [Alexis Svinartchouk]
  • Remove generated lib.js file [Alexis Svinartchouk]
  • Add project urls to package.json [Alexis Svinartchouk]
  • Update dependencies, update coffescript to 2.5.1 [Alexis Svinartchouk]

0.0.8 - 2019-10-03

  • Add title in readme [Giovanni Garufi]

0.0.7 - 2019-10-03

  • Remove empty test script from package.json [Alexis Svinartchouk]
  • DEFLATE_END_LENGTH constant [Alexis Svinartchouk]
  • Fix DEFLATE_END stripping [Alexis Svinartchouk]