npm diff --name-only

Category: Node.js & npm/yarn

npm diff --name-only

Show only file names that differ between two versions of a package

Shows just the filenames that differ between two versions of a package — a quick overview before reading the full diff.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.