gzipy
A basic GZip compress and decompress library
Install
You can install the latest version of the package using npm:
$ npm install --save gzipy
Usage
//Import gzipy var gzipy = ; //Compress a file gzipy; //Decompress a filegzipy;
API
gzipy.compress(input, output, callback)
Compress the input
file and save it to output
. The callback method will be called when the process is completed or when there is an error.
gzipy.decompress(input, output, callback)
Decompress the input
file and save it to output
. The callback method will be called when the process is completed or when there is an error.
License
Under the MIT LICENSE.