0.1.0 • Published 8 years ago

justo-plugin-tar v0.1.0

Weekly downloads
4
License
-
Repository
github
Last release
8 years ago

NPM version Build Status Dependency Status devDependency Status

Plugin to tar.

Proudly made with ♥ in Valencia, Spain, EU.

Install

npm install justo-plugin-tar

Use

This plugin is composite.

extract task

extract(justoOpts, opts : object)

The opts parameter:

  • src (string). File to extract.
  • dst (string). Directory where to extract.

Example:

const tar = require("justo-plugin-tar");

tar.extract("Extract redis-stable.tar.gz", {
  src: "downloads/redis-stable.tar.gz",
  dst: TMP_DIR
});