Toggle menu

tar.gz

This module provides gzip tarball tools.

This library is distributed under the ISC license, its source and full documentation can be found at www.npmjs.com/package/tar.gz

Executed

Server-side.

Details

var targz = require('tar.gz');

Once loaded the module can be used to read, write, compress and extract files and directories.

Example

function( params, credentials ) {
    var targz = require('tar.gz'); 
    targz().compress('E:/my-directory/media', 'E:/my-directory/compressed.tar.gz');
}

 

Last modified on 10 March 2020

Share this page

Facebook icon Twitter icon email icon

Print

print icon