# @cloudstitch/node-diff3-wrapper

> A very minimal wrapper around diff3.

Latest version **0.2.3** (published 2017-02-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cloudstitch/node-diff3-wrapper
pnpm add @cloudstitch/node-diff3-wrapper
yarn add @cloudstitch/node-diff3-wrapper
bun add @cloudstitch/node-diff3-wrapper
```

## 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.3 |
| Published | 2017-02-08 |
| First published | 2017-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Maintainers | cloudstitchadmin, papodaca |

## Links

- npm: https://www.npmjs.com/package/@cloudstitch/node-diff3-wrapper
- Repository: https://github.com/cloudstitch/node-diff3-wrapper
- Homepage: https://github.com/cloudstitch/node-diff3-wrapper#readme
- Issues: https://github.com/cloudstitch/node-diff3-wrapper/issues
- npm.io page: https://npm.io/package/@cloudstitch/node-diff3-wrapper

## Dependencies (2)

- [jszip](https://npm.io/package/jszip.md) ^3.1.3
- [which](https://npm.io/package/which.md) ^1.2.12

## Recent versions

- 0.2.3 (latest) — 2017-02-08
- 0.2.2 — 2017-02-07
- 0.2.1 — 2017-02-07
- 0.2.0 — 2017-02-06
- 0.1.7 — 2017-02-06
- 0.1.6 — 2017-02-06
- 0.1.5 — 2017-02-06
- 0.1.4 — 2017-02-06
- 0.1.3 — 2017-02-06
- 0.1.2 — 2017-02-06
- 0.1.1 — 2017-02-06
- 0.1.0 — 2017-02-06
- 0.0.1 — 2017-02-03

## README

# node-diff3-wrapper

This is a small utility wrapper around the command line tool diff3. On windows this package will download and install the gnu32 equivilent.

## Install
```
npm install --save @cloudstitch/node-diff3-wrapper
```

## Usage
```js
var diff3 = require("@cloudstitch/node-diff3-wrapper");

// three files on disk
diff3.diff("/path/to/file/a", "/path/to/file/original", "/path/to/file/b").then((result) => {
  console.log(result);
})

// one file in memory
diff3.diff("-", "/path/to/file/original", "/path/to/file/b", "contents of file a").then((result) => {
  console.log(result);
})

// diff3 -m
diff3.diffM("/path/to/file/a", "/path/to/file/original", "/path/to/file/b").then((result) => {
  console.log(result);
})  
```

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