List unused files in your package.
npx @ljharb/unused-files # if not installed
unused-files # if installed and in the PATH
$ unused-files --help
Usage: unused-files [options]
Options:
--ignorePattern <pattern> Ignore files matching the given pattern
[string]
[multiple]
[default: .github/**, coverage/**, test/**, tests/**, example/**]
--json Output the result as a JSON array
[boolean]
[default: false]
npm install --save-dev @ljharb/unused-files
MIT