Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kellyselden/merge-package.json

Merge package.json using local, base, and remote
https://github.com/kellyselden/merge-package.json

Last synced: 4 days ago
JSON representation

Merge package.json using local, base, and remote

Awesome Lists containing this project

README

        

# merge-package.json

[![npm version](https://badge.fury.io/js/merge-package.json.svg)](https://www.npmjs.com/package/merge-package.json)

Merge package.json using local, base, and remote

* Preserves ordering
* Follows SemVer
* Uses best guess to resolve conflicts

```js
const mergePackageJson = require('merge-package.json');

let merged = mergePackageJson(local, base, remote);
```