npm query ':semver(>2.0.0)'

Category: Node.js & npm/yarn

npm query ':semver(>2.0.0)'

Use CSS-like selector syntax to query packages in your dependency tree by semver range

Uses CSS-inspired selector syntax to query and filter packages in your dependency tree — for example, find all packages above a certain version.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.