Skip to content

flarebyte/clingy-code-detective

Repository files navigation

clingy-code-detective

Go Report Card Build status License Experimental

Exposing the code that's a little too attached

A command-line tool to scan project directories for dependencies across multiple ecosystems, aggregating and reporting them.

Hero image for clingy-code-detective

Highlights:

  • Scans multiple directories recursively for dependencies across various ecosystems.
  • Supports Node.js (package.json) and Dart (pubspec.yaml) projects.
  • Extracts dependency names, versions, and categories (dev, prod).
  • Provides a detailed list of dependencies along with their file paths.
  • Aggregates dependency data to count occurrences and identify version ranges.
  • Exports results to JSON or CSV for auditing and documentation.
  • Designed for monorepo and mixed-environment analysis.

A few examples of commands:

Show help:

clingy --help

Show version:

clingy --version

Scan a single directory with default output (JSON implied by context):

clingy ./my-project

Include specific ecosystems (e.g., Node.js and Dart):

clingy --include=node,dart ./my-project

Exclude specific path segments:

clingy --exclude=/node_modules/,/build/ ./my-project

Output results in CSV format:

clingy --csv ./my-project

Output results in Markdown format:

clingy --md ./my-project

Aggregate results across multiple paths:

clingy --aggregate ./proj-a ./proj-b

Documentation and links

Related

Installation

Homebrew

Install with brew:

brew install flarebyte/tap/clingy-code-detective

Linux

Install on Linux AMD64 / ARM64:

curl -fsSL https://github.com/myorg/flarebyte/tap/clingy-code-detective/raw/main/scripts/install.sh | bash

About

Exposing the code that's a little too attached

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published