Search code examples
npmzipdifftararchive

Compare npm pack tarball with what's on NPM


I made some changes to an NPM project and can't remember if I included them in the latest NPM tarball that I published. The git history is kind of independent of what I publish sometimes.

Is there some way to compare the file differences between what's on NPM and a tarballed version of my current project?

It would be nice to be able to do a diff on all the files and see what the differences are, anyone know a good way to do that?


Solution

  • You can compare two Zip-balls with the open-source tool comp_zip available here.