Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kellyselden/merge-package.json
- Owner: kellyselden
- License: mit
- Created: 2017-11-03T01:45:54.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T18:40:28.000Z (about 2 months ago)
- Last Synced: 2025-01-15T11:45:36.709Z (11 days ago)
- Language: JavaScript
- Size: 481 KB
- Stars: 22
- Watchers: 3
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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);
```