justo-plugin-tar
v0.1.0
Published
Plugin to tar.
Downloads
1
Readme
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
});