# git-apply-delta

> apply delta buffer to target buffer

Latest version **0.0.7** (published 2013-05-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-apply-delta
pnpm add git-apply-delta
yarn add git-apply-delta
bun add git-apply-delta
```

## 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.0.7 |
| Published | 2013-05-27 |
| First published | 2013-03-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Chris Dickinson |
| Maintainers | chrisdickinson |
| Keywords | git, delta, buffer, apply |

## Links

- npm: https://www.npmjs.com/package/git-apply-delta
- Repository: https://github.com/chrisdickinson/git-apply-delta
- npm.io page: https://npm.io/package/git-apply-delta

## Dependencies (2)

- [bops](https://npm.io/package/bops.md) ~0.0.6
- [varint](https://npm.io/package/varint.md) 0.0.3

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.0.7 (latest) — 2013-05-27
- 0.0.6 — 2013-05-27
- 0.0.5 — 2013-05-06
- 0.0.4 — 2013-05-04
- 0.0.3 — 2013-03-16
- 0.0.2 — 2013-03-16

## README

# git-apply-delta

apply a git delta buffer to a git target buffer.

used by git packfiles to unpack REF and OFS delta objects.

[![Build Status](https://travis-ci.org/chrisdickinson/git-apply-delta.png)](https://travis-ci.org/chrisdickinson/git-apply-delta)
[![browser support](http://ci.testling.com/chrisdickinson/git-apply-delta.png)](http://ci.testling.com/chrisdickinson/git-apply-delta)

```javascript
var apply = require('git-apply-delta')

var result = apply(delta, target)
```

### api

#### apply(Buffer delta, Buffer target) -> Buffer result

apply the delta buffer to the target buffer and return a new
buffer containing the result.

## license

MIT

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