mod-tar

0.1.2 • Public • Published

tar

Create/extract a tarball

Usage

module.exports = {
    plugins: {
        "tar": "mod-tar"
    },
    tasks: {
        "tar": {
            pack: {
                src: "./foo",
                dest: "foo.tar.gz"
            },
            unpack: {
                action: "extract",
                src: "foo.tar.gz",
                dest: "./bar"
            }
        }
    },
    targets: {
        dist: "tar:pack tar:unpack"
    }
};

Readme

Keywords

none

Package Sidebar

Install

npm i mod-tar

Weekly Downloads

1

Version

0.1.2

License

none

Last publish

Collaborators

  • yuanyan