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

Package Sidebar

Install

npm i apple-data-compression

Weekly Downloads

1,159

Version

0.4.1

License

MIT

Unpacked Size

10.2 kB

Total Files

6

Last publish

Collaborators

  • jhermsmeier