{"_id":"archive-tool","_rev":"1212097","name":"archive-tool","description":"archive files to zip/tar","dist-tags":{"latest":"1.0.4","next":"1.0.0-rc.1"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"time":{"modified":"2021-10-13T05:45:46.000Z","created":"2018-03-22T03:28:22.859Z","1.0.4":"2018-11-26T09:03:22.604Z","1.0.3":"2018-11-26T08:38:52.070Z","1.0.2":"2018-11-26T08:31:23.380Z","1.0.1":"2018-10-11T08:30:50.123Z","1.0.0":"2018-03-22T06:54:00.712Z","1.0.0-rc.1":"2018-03-22T03:28:22.859Z"},"users":{},"author":{"name":"hubcarl@126.com"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"versions":{"1.0.4":{"name":"archive-tool","version":"1.0.4","description":"archive files to zip/tar","keywords":["archiver","archiver zip","archiver tar","node project archiver"],"dependencies":{"archiver":"^2.1.1","chalk":"^2.3.2","date-fns":"^1.29.0","fs-extra":"^5.0.0","lodash.merge":"^4.6.1","nodeinstall":"^0.1.3","shelljs":"^0.8.1"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=8.6.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=a16dbaf4-fd0e-4c30-8337-555619d75f0b","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"homepage":"https://github.com/hubcarl/archive-tool#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"a597cc3a21a2fdccfa6a0c0cf5218020a0dc8166","_id":"archive-tool@1.0.4","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"a3a543072a14b4e43d4549d7be6f51c8e96e1f0e","size":4160,"noattachment":false,"key":"/archive-tool/-/archive-tool-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-tool/download/archive-tool-1.0.4.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/archive-tool_1.0.4_1543223002485_0.5842838929906189"},"_hasShrinkwrap":false,"publish_time":1543223002604,"_cnpm_publish_time":1543223002604},"1.0.3":{"name":"archive-tool","version":"1.0.3","description":"archive files to zip/tar","keywords":["archiver","archiver zip","archiver tar","node project archiver"],"dependencies":{"archiver":"^2.1.1","chalk":"^2.3.2","date-fns":"^1.29.0","fs-extra":"^5.0.0","lodash.merge":"^4.6.1","nodeinstall":"^0.1.3","shelljs":"^0.8.1"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=8.6.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=a16dbaf4-fd0e-4c30-8337-555619d75f0b","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"homepage":"https://github.com/hubcarl/archive-tool#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"c37e0341a81b1e23bd906f883f75f6da8cd071de","_id":"archive-tool@1.0.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"b17af2f0f0ebd341c86b228d2f71bc9048d28d79","size":4156,"noattachment":false,"key":"/archive-tool/-/archive-tool-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-tool/download/archive-tool-1.0.3.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/archive-tool_1.0.3_1543221531882_0.3660694345568998"},"_hasShrinkwrap":false,"publish_time":1543221532070,"_cnpm_publish_time":1543221532070},"1.0.2":{"name":"archive-tool","version":"1.0.2","description":"archive files to zip/tar","keywords":["archiver","archiver zip","archiver tar","node project archiver"],"dependencies":{"archiver":"^2.1.1","chalk":"^2.3.2","date-fns":"^1.29.0","fs-extra":"^5.0.0","lodash.merge":"^4.6.1","nodeinstall":"^0.1.3","shelljs":"^0.8.1"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=8.6.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=a16dbaf4-fd0e-4c30-8337-555619d75f0b","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"homepage":"https://github.com/hubcarl/archive-tool#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"c9eed898b8b776554363d6ee06a2a9a38f022a83","_id":"archive-tool@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"e6689119bf93115d4a64eb91f8f602908f1b24ce","size":4152,"noattachment":false,"key":"/archive-tool/-/archive-tool-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-tool/download/archive-tool-1.0.2.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/archive-tool_1.0.2_1543221083291_0.08660720149108325"},"_hasShrinkwrap":false,"publish_time":1543221083380,"_cnpm_publish_time":1543221083380},"1.0.1":{"name":"archive-tool","version":"1.0.1","description":"archive files to zip/tar","keywords":["archiver","archiver zip","archiver tar","node project archiver"],"dependencies":{"archiver":"^2.1.1","chalk":"^2.3.2","date-fns":"^1.29.0","fs-extra":"^5.0.0","lodash.merge":"^4.6.1","nodeinstall":"^0.1.3","shelljs":"^0.8.1"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=8.6.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=a16dbaf4-fd0e-4c30-8337-555619d75f0b","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"homepage":"https://github.com/hubcarl/archive-tool#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"6567b71d002542b51f55543604aa3123b6d16860","_id":"archive-tool@1.0.1","_shasum":"a68ad4fd8f6a46a53b3520d1df0962685b4fee3e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"a68ad4fd8f6a46a53b3520d1df0962685b4fee3e","size":4277,"noattachment":false,"key":"/archive-tool/-/archive-tool-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-tool/download/archive-tool-1.0.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/archive-tool_1.0.1_1539246649974_0.04722313433205616"},"_hasShrinkwrap":false,"publish_time":1539246650123,"_cnpm_publish_time":1539246650123},"1.0.0":{"name":"archive-tool","version":"1.0.0","description":"archive files to zip/tar","keywords":["archiver","archiver zip","archiver tar","node project archiver"],"dependencies":{"archiver":"^2.1.1","chalk":"^2.3.2","date-fns":"^1.29.0","fs-extra":"^5.0.0","nodeinstall":"^0.1.3","shelljs":"^0.8.1"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=8.6.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=a16dbaf4-fd0e-4c30-8337-555619d75f0b","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"homepage":"https://github.com/hubcarl/archive-tool#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"85aea003e060c11cf655ebf4a0b00b3db725ad85","_id":"archive-tool@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"3c2673254892b9908caedf56f209fc9724a83dd7","size":4091,"noattachment":false,"key":"/archive-tool/-/archive-tool-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-tool/download/archive-tool-1.0.0.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/archive-tool_1.0.0_1521701640601_0.02039268642077574"},"_hasShrinkwrap":false,"publish_time":1521701640712,"_cnpm_publish_time":1521701640712},"1.0.0-rc.1":{"name":"archive-tool","version":"1.0.0-rc.1","description":"archive files to zip/tar","keywords":["archiver","archiver zip","archiver tar","node project archiver"],"dependencies":{"archiver":"^2.1.1","chalk":"^2.3.2","date-fns":"^1.29.0","fs-extra":"^5.0.0","nodeinstall":"^0.1.3","shelljs":"^0.8.1"},"devDependencies":{"chai":"^4.1.1","codecov":"^3.0.0","conventional-changelog-cli":"^1.3.5","cross-env":"^5.0.5","eslint":"^4.5.0","eslint-config-eslint":"^4.0.0","mocha":"^3.5.0","nyc":"^11.1.0"},"engines":{"node":">=8.6.0"},"scripts":{"lint":"eslint .","fix":"eslint --fix .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","test":"nyc --reporter=html --reporter=text mocha --timeout=1000000","cov":"nyc report --reporter=lcov && codecov --token=e971d1e7-39e2-44b1-b1ee-f4345b0adbee","ci":"npm run lint && npm run cov","ii":"npm install --registry https://registry.npm.taobao.org"},"nyc":{"exclude":["**/*.spec.js","test/*.test.js"]},"ci":{"version":"8, 9"},"repository":{"type":"git","url":"git+https://github.com/hubcarl/archive-tool.git"},"bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"homepage":"https://github.com/hubcarl/archive-tool#readme","author":{"name":"hubcarl@126.com"},"license":"MIT","gitHead":"984dee5655dd7b83e7d114c2b5e47a3315d728e9","_id":"archive-tool@1.0.0-rc.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"hubcarl","email":"hubcarl@126.com"},"dist":{"shasum":"0c9c178ae11a67951dcb3a84cff675342b884e73","size":3959,"noattachment":false,"key":"/archive-tool/-/archive-tool-1.0.0-rc.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-tool/download/archive-tool-1.0.0-rc.1.tgz"},"maintainers":[{"name":"hubcarl","email":"hubcarl@126.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/archive-tool_1.0.0-rc.1_1521689302804_0.4774144833506553"},"_hasShrinkwrap":false,"publish_time":1521689302859,"_cnpm_publish_time":1521689302859}},"readme":"# archive-tool\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/archive-tool.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/archive-tool\n[travis-image]: https://img.shields.io/travis/hubcarl/archive-tool.svg?style=flat-square\n[travis-url]: https://travis-ci.org/hubcarl/archive-tool\n[codecov-image]: https://img.shields.io/codecov/c/github/hubcarl/archive-tool.svg?style=flat-square\n[codecov-url]: https://codecov.io/github/hubcarl/archive-tool?branch=master\n[david-image]: https://img.shields.io/david/hubcarl/archive-tool.svg?style=flat-square\n[david-url]: https://david-dm.org/hubcarl/archive-tool\n[snyk-image]: https://snyk.io/test/npm/archive-tool/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/archive-tool\n[download-image]: https://img.shields.io/npm/dm/archive-tool.svg?style=flat-square\n[download-url]: https://npmjs.org/package/archive-tool\n\nArchive files to zip/tar file\n\n## Featues\n\n- [x] archive files to zip/tar file\n- [x] archive node project to zip file\n- [x] archive node project to tar file\n- [x] support install node into node_modules\n\n**Node>8.6.0**\n\n## Install\n\n```bash\nnpm install archive-tool\n```\n\n## Usage\n\n```js\nconst Archive = require('archive-tool');\nconst archive = new Archive({\n  source: ['src', 'lib', 'package.json'],\n  target: 'dist'\n});\narchive.zip();\n```\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/hubcarl/archive-tool#readme","bugs":{"url":"https://github.com/hubcarl/archive-tool/issues"},"license":"MIT"}