Node.js dependency insight
MSALFind direct and transitive npm dependencies matching a package name pattern. Results include dependencies that either directly match or transitively include a matching dependency.
org. openrewrite. javascript. search. DependencyInsightRequired
A glob pattern to match npm package names. Use * as a wildcard.
Optional
Match dependencies in the specified scope. All scopes are searched by default.
onlyDirectBoolean
If enabled, transitive dependencies will not be considered. All dependencies are searched by default.
mod run . --recipe= org. openrewrite. javascript. search. DependencyInsight \
-P packageNamePattern= '@types/ *'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.