Local-first CLI + TUI for dependency intelligence

Measure dependency waste and attack surface before it ships.

Lopper compares imported dependencies to actual usage, then returns risk cues, waste scores, and practical recommendations for cleanup.

Lopper single dependency deep-dive demo in terminal
Single dependency deep-dive.
Quick Start
brew tap ben-ranford/tap
brew install lopper
lopper analyse lodash --repo . --language js-ts

Why Lopper

Cut unused dependencies with evidence, not guesswork.

Waste Ranking

Rank dependency candidates by usage signal, impact, and confidence scoring.

CI-Ready Output

Emit JSON, SARIF, and CSV for automation, reporting, and code scanning workflows.

Baseline Gating

Store immutable baselines and fail builds when dependency waste regresses.

License Policy Checks

Surface license and provenance metadata and fail CI when deny-listed licenses are introduced.

Monorepo Scope Modes

Run analysis at repository, package, or changed-package scope for deterministic multi-package results.

Runtime Correlation

Combine static and runtime signal in JS/TS and Python to reduce false assumptions.

Multi-Repo Dashboard

Roll up local or pinned remote repositories into JSON, CSV, and HTML dashboard views.

Editor, CI & Agent Workflows

Use the VS Code extension, first-party GitHub Action, and local MCP server across your existing workflows.

Security & SBOM Previews

Prioritize local OSV advisories with reachability evidence and export CycloneDX or SPDX SBOMs behind explicit opt-in flags.

Workflow

Fast loop from detection to policy.

  1. 1. Analyse

    Run lopper analyse over one dependency or the full repository surface.

  2. 2. Tune

    Adjust thresholds and scoring weights for your noise tolerance and risk model.

  3. 3. Enforce

    Compare against stored baselines in CI and block regressions before merge.

Language Coverage

14 language adapters for modern codebases, spanning JavaScript/TypeScript, Python, PowerShell, and more.

Audit dependency surface before it reaches production.

Use Lopper in local development, CI pipelines, or security review workflows.

Get Latest Release