knip
Find unused files, dependencies and exports in your TypeScript and JavaScript projects
depcheck
Check dependencies in your node module
putout
🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json