@bytestream/gulp-archiver

2.1.0 • Public • Published

gulp-archiver

Archive anything through gulp

Install

npm install @bytestream/gulp-archiver --save

Usage

var gulp = require('gulp');
var archiver = require('@bytestream/gulp-archiver');

gulp.task('default', function () {
	return gulp.src('src/**')
		.pipe(archiver('archive.zip'))
		.pipe(gulp.dest('./dist'));
});

Plugin uses archiver npm package to make archive.

API

archiver(filename[, options])

filename

Required Type: String

Result archive file name.

File extension is used to define archive type. Plugin supports only zip and tar archives.

options

Type: Object

Described in original archiver repository

Package Sidebar

Install

npm i @bytestream/gulp-archiver

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

14.2 kB

Total Files

15

Last publish

Collaborators

  • bytestream