gunzip-file

0.1.1 • Public • Published

gunzip-file

Extract a source .gz archive to a specified destination file.

npm install gunzip-file

Build Status

Usage

Pass a source .gz file and a destination file and the .gz will be extracted to the target file.

gunzip('example.json.gz', 'example.json');

Additionally, you can pass a callback that will be executed when the extraction has completed.

gunzip('example.json.gz', 'example.json', function() {
    console.log('This is called when the extraction is completed.');
});

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    5,792
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    5,792

Package Sidebar

Install

npm i gunzip-file

Weekly Downloads

5,792

Version

0.1.1

License

MIT

Last publish

Collaborators

  • tyxla