libnpmdiff

Compare npm package versions and their contents in the registry

npmmacoslinuxwindows
Try with needOr install directly
Source

About

The registry diff

Commands

npmdiff

Examples

Compare two versions of the same package$ npmdiff lodash@4.17.20 lodash@4.17.21
Compare local package with published registry version$ npmdiff . lodash@latest
Show diff of specific files between versions$ npmdiff lodash@4.17.20 lodash@4.17.21 -- package.json README.md