Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 886 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 886 Bytes

Archiver v0.21.0

Build Status Build status

a streaming interface for archive generation

Visit the API documentation for a list of all methods available.

Install

npm install archiver --save

Usage

var archiver = require('archiver');
var archive = archiver.create('zip', {}); // or archiver('zip', {});

Custom Formats

Archiver ships with out of the box support for TAR and ZIP archives.

You can register additional formats with registerFormat.

Formats will be changing in the next few releases to implement a middleware approach.