# multi-cloner

> A module that clones multiple git repositories in a specific destination

Latest version **0.2.2** (published 2016-08-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install multi-cloner
pnpm add multi-cloner
yarn add multi-cloner
bun add multi-cloner
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2016-08-09 |
| First published | 2016-05-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | fmatar |

## Links

- npm: https://www.npmjs.com/package/multi-cloner
- Repository: https://github.com/fmatar/multi-cloner
- Homepage: https://github.com/fmatar/multi-cloner#readme
- Issues: https://github.com/fmatar/multi-cloner/issues
- npm.io page: https://npm.io/package/multi-cloner

## Dependencies (3)

- [tv4](https://npm.io/package/tv4.md) ^1.2.7
- [async](https://npm.io/package/async.md) ^2.0.1
- [nodegit](https://npm.io/package/nodegit.md) ^0.14.1

## Recent versions

- 0.2.2 (latest) — 2016-08-09
- 0.2.1 — 2016-07-13
- 0.2.0 — 2016-07-13
- 0.1.2 — 2016-05-25
- 0.1.1 — 2016-05-17
- 0.1.0 — 2016-05-17
- 0.0.3 — 2016-05-11
- 0.0.1 — 2016-05-09

## README

# Multi Cloner
A utility that clones multiple git repositories.

## Status

<table>
    <thead>
        <tr>
            <th>Build Status</th>
            <th>Dependencies</th>
            <th>Coverage</th>
        </tr>
    </thead>
    
    <tbody>
        <tr>
            <td><a href="https://travis-ci.org/fmatar/multi-cloner"><img src="https://travis-ci.org/fmatar/multi-cloner.svg?branch=master" /></a></td>
            <td><a href="https://david-dm.org/fmatar/multi-cloner"><img src="https://david-dm.org/fmatar/multi-cloner.svg" /></a></td>
            <td><a href="https://coveralls.io/github/fmatar/multi-cloner"><img src="https://coveralls.io/repos/fmatar/multi-cloner/badge.svg?branch=master" /></a></td>
        </tr>
    </tbody>
</table>

## Usage
```javascript
'use strict';

const MultiCloner = require('multi-cloner');

let config = {
  destination: '/tmp/tools', //path where all the repositories will be cloned
  repositories: [ //individual repositories to clone
    'https://github.com/fmatar/cassandra-installer.git',
    'https://github.com/fmatar/cloner.git'
  ]
};
const cloner = new MultiCloner(config);

/* Install the repositories specified in the configuration in the specified destination */
cloner.install((err, data) => {
  console.log(err, data);
});

/* Cleanup */
cloner.uninstall();
```

> This module might not work on Windows since NodeGit is not guaranteed to work on Windows.

---
_Source: https://npm.io/package/multi-cloner · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
