.. | ||
lib | ||
node_modules | ||
CHANGELOG.md | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
Archiver v1.1.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.