Skip to content

Merges multiple package.json files together preserving key order and sorting dependencies

Notifications You must be signed in to change notification settings

negativetwelve/merge-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

merge-pkg

npm npm npm

Merge multiple package.json files together preserving key order and sorting dependencies.

Getting Started

Install merge-pkg using yarn:

yarn add merge-pkg

Usage

import mergePkg from 'merge-pkg';

const merged = mergePkg(firstPackageJSON, secondPackageJSON, thirdPackageJSON);

Contributing

If you have any ideas on how this module could be better, create an Issue or submit a PR.

About

Merges multiple package.json files together preserving key order and sorting dependencies

Resources

Stars

Watchers

Forks

Packages

No packages published