There's a new, holistic approach to asking & answering questions about your dependencies in the @npmjs CLI. The `npm query` command takes a Dependency Selector & returns a filtered result letting you expressively pipe the result to other scripts.
https://github.blog/changelog/2022-08-03-introducing-the-new-npm-dependency-selector-syntax/