A utility script to determine whether any deep depdendencies depend on the current package
npm install detect-cyclic-packages



detect-cyclic-packages is a fast script/CLI tool to determine if a package contains any dependencies that also depend on the package, directly or indirectly.
See the latest releases on GitHub.
The contribution guide has information on getting help, reporting bugs, developing locally, and more.