Skip to main content

Module ci

Module ci 

Source
Expand description

CI config file scanner for dependency usage detection.

Extracts shell commands from .gitlab-ci.yml and .github/workflows/*.yml files, parses them for binary invocations (especially npx), and maps binaries to npm package names. This prevents false “unused dependency” reports for packages only used in CI pipelines.

Functions§

analyze_ci_files
Analyze CI config files for package binary invocations.