# gossip-object-diff

> Computes the diff of two objects in gossip-object's internal format.

Latest version **0.1.0** (published 2015-01-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install gossip-object-diff
pnpm add gossip-object-diff
yarn add gossip-object-diff
bun add gossip-object-diff
```

## 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.1.0 |
| Published | 2015-01-03 |
| First published | 2015-01-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Allain Lalonde |
| Maintainers | allain |
| Keywords | scuttlebutt gossip-object diff |

## Links

- npm: https://www.npmjs.com/package/gossip-object-diff
- Repository: https://github.com/allain/node-gossip-object-diff
- Issues: https://github.com/allain/node-gossip-object-diff/issues
- npm.io page: https://npm.io/package/gossip-object-diff

## Dependencies (1)

- [jiff](https://npm.io/package/jiff.md) ^0.7.0

## Recent versions

- 0.1.0 (latest) — 2015-01-03

## README

# gossip-object-diff

Given two JSON docs computes the set of changes needed to transform the first into the second in the format used internally by gossip-object.

## Installation

npm install gossip-object-diff

## Usage
```js

var diff = require('gossip-object-diff');
var Model = require('gossip-object');

var model = new Model();

var changes = diff({}, {a: {b: true}});

console.log(changes);

model.localChanges(changes);
```

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