# patrick

> Snapshot and mirror Git repositories

Latest version **0.12.0** (published 2013-10-28) · 0 weekly downloads

## Install

```sh
npm install patrick
pnpm add patrick
yarn add patrick
bun add patrick
```

## 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.12.0 |
| Published | 2013-10-28 |
| First published | 2013-07-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 8 |
| Maintainers | kevinsawicki, probablycorey, mcolyer |

## Links

- npm: https://www.npmjs.com/package/patrick
- Repository: https://github.com/atom/patrick
- Issues: https://github.com/atom/patrick/issues
- npm.io page: https://npm.io/package/patrick

## Dependencies (4)

- [tmp](https://npm.io/package/tmp.md) 0.0.20
- [async](https://npm.io/package/async.md) ~0.2.9
- [git-utils](https://npm.io/package/git-utils.md) ~0.28.0
- [underscore](https://npm.io/package/underscore.md) ~1.5.1

## Recent versions

- 0.12.0 (latest) — 2013-10-28
- 0.11.0 — 2013-10-25
- 0.10.0 — 2013-10-23
- 0.9.0 — 2013-10-23
- 0.8.0 — 2013-10-16
- 0.7.0 — 2013-10-02
- 0.6.0 — 2013-09-24
- 0.5.0 — 2013-07-31
- 0.4.0 — 2013-07-26
- 0.3.0 — 2013-07-17
- 0.2.0 — 2013-07-12
- 0.1.0 — 2013-07-12

## README

# patrick [![Build Status](https://travis-ci.org/atom/patrick.png)](https://travis-ci.org/atom/patrick)

Synchronize a Git repository from one place to another.

![](http://i.qkme.me/3v5agm.jpg)

## Usage

```coffeescript
patrick = require 'patrick'
```

### Generate a snapshot

```coffeescript
patrick.snapshot '/repos/here', (error, snapshot) ->
  if error?
    console.error('snapshot failed', error)
  else
    console.log('snapshot succeeded')
```

### Mirror a snapshot

```coffeescript
patrick.mirror '/repos/there', snapshot, (error) ->
  if error?
    console.error('mirror failed', error)
  else
    console.log('mirror succeeded')
```

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