905 B
905 B
Archiver v1.2.0
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', {});
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.