pkg-diff

Compare package.json between projects and outputs the difference between each dependency

Usage no npm install needed!

<script type="module">
  import pkgDiff from 'https://cdn.skypack.dev/pkg-diff';
</script>

README

pkg-diff

Build Status NPM version Coverage Status

Outputs the diff between two package.json dependencies

$ npm i -g pkg-diff
$ pkg-diff path/to/project-1 path/to/project-2

If you want to ignore any dependency type you can use --ignore.

Types: dep, dev, peer, optional.

$ pkg-diff --ignore=peer,optional path/to/project-1 path/to/project-2

License

MIT License