apple-data-compression

0.4.1 • Public • Published

Apple Data Compression (ADC) Scheme

npm npm license npm downloads build status

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-compression

Related 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 ) => {
    // ...
  })

/apple-data-compression/

    Package Sidebar

    Install

    npm i apple-data-compression

    Weekly Downloads

    2,980

    Version

    0.4.1

    License

    MIT

    Unpacked Size

    10.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • jhermsmeier