Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.57 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.57 KB

archive-tool

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Archive files to zip/tar file

Featues

  • archive files to zip/tar file
  • archive node project to zip file
  • archive node project to tar file
  • support install node into node_modules

Node>8.6.0

Install

npm install archive-tool

Usage

const Archive = require('archive-tool');
const archive = new Archive({
  source: ['src', 'lib', 'package.json'],
  target: 'dist'
});
archive.zip();

License

MIT