Skip to content

hubcarl/archive-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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