wallet-core/node_modules/archiver/README.md

28 lines
905 B
Markdown
Raw Normal View History

2016-10-10 03:43:44 +02:00
# Archiver v1.1.0
[![Build Status](https://travis-ci.org/archiverjs/node-archiver.svg?branch=master)](https://travis-ci.org/archiverjs/node-archiver) [![Build status](https://ci.appveyor.com/api/projects/status/38kqu3yp159nodxe/branch/master?svg=true)](https://ci.appveyor.com/project/ctalkington/node-archiver/branch/master)
a streaming interface for archive generation
Visit the [API documentation](http://archiverjs.com/docs) for a list of all methods available.
## Install
```bash
npm install archiver --save
```
## Usage
```js
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._