Package Exports
- apple-data-compression
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 (apple-data-compression) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Apple Data Compression (ADC) Scheme
The Apple Data Compression (ADC) scheme relies on both run-length encoding and pointing to data in a sliding dictionary.
Install via npm
$ npm install --save apple-data-compressionRelated Modules
Usage
var adc = require( 'apple-data-compression' )Sync decompression
var result = adc.decompress( buffer )Streaming
var transform = new adc.Decompressor()
// OR var transform = adc.createDecompress()
fs.createReadStream( filename )
.pipe( transform )
.on( 'data', ( chunk ) => {
// ...
})