# dependencies-diff

> Merge dependencies and their versions

Latest version **0.0.3** (published 2014-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install dependencies-diff
pnpm add dependencies-diff
yarn add dependencies-diff
bun add dependencies-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.0.3 |
| Published | 2014-02-05 |
| First published | 2014-02-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vsevolod Strukchinsky |
| Maintainers | floatdrop |
| Keywords | package.json, diff, dependencies, version |

## Links

- npm: https://www.npmjs.com/package/dependencies-diff
- Repository: https://github.com/floatdrop/dependencies-diff
- Issues: https://github.com/floatdrop/dependencies-diff/issues
- npm.io page: https://npm.io/package/dependencies-diff

## Dependencies (1)

- [semver](https://npm.io/package/semver.md) ~2.2.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2014-02-05
- 0.0.2 — 2014-02-04
- 0.0.1 — 2014-02-04

## README

# dependencies-diff [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][depstat-image]][depstat-url]

> Merge dependencies and their versions

This module will parse versions in `dependencies` property of `package.json` (or `bower.json`) and tell how much differs they are.

## API

### dependencies-diff(current, fresh)

Returns difference between `current` and `fresh` objects.

## Example

```js
var dd = require('dependencies-diff');

dd({
    express: '3.4.1'
}, {
    express: '4.3.1'
});

/* Returns: 
{ 
    express: {
        major: 1,
        minor: -1,
        patch: 0
    }
}
*/
```

# License

MIT (c) 2013 Vsevolod Strukchinsky (floatdrop@gmail.com)

[npm-url]: https://npmjs.org/package/dependencies-diff
[npm-image]: https://badge.fury.io/js/dependencies-diff.png

[travis-url]: http://travis-ci.org/floatdrop/dependencies-diff
[travis-image]: https://travis-ci.org/floatdrop/dependencies-diff.png?branch=master

[depstat-url]: https://david-dm.org/floatdrop/dependencies-diff
[depstat-image]: https://david-dm.org/floatdrop/dependencies-diff.png?theme=shields.io

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