archiver

a streaming interface for archive generation

Archiver v0.21.0

a streaming interface for archive generation

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

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

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.

Archiver makes use of several libraries/modules to avoid duplication of efforts.