Skip to main content

🚀 Depsly

Depsly is a local-first dependency decision CLI for JavaScript/TypeScript projects.

It helps you answer:

  • What dependencies actually matter?
  • What should I review first?
  • Why is this transitive package even here?
  • What happens if I remove something?

🧠 Why Depsly

Most dependency tools focus on:

  • vulnerabilities
  • compliance
  • audit reports

Depsly focuses on:

Decision-making

It combines:

  • dependency graph analysis
  • structural impact simulation
  • feasibility-aware recommendations
  • saved scan history and comparison

So you can decide where to spend your time.


✨ What Depsly Does

  • Builds a full dependency graph from package-lock.json, yarn.lock, or pnpm-lock.yaml
  • Analyzes structural risk (depth, fanout, transitive exposure)
  • Ranks dependencies by impact × actionability
  • Explains why transitive dependencies exist
  • Simulates structural impact of removing packages
  • Exports normalized recommendation scans as JSON
  • Saves scans locally for history and comparison
  • Generates an interactive HTML dependency explorer with tree, path, and graph views
  • Runs entirely locally (no code upload required)

⚡ Install

pipx install depsly

If needed:

pipx install --python python3.11 depsly

Alternative (pip)

pip install depsly

🚀 Quick Start

Replace package-lock.json in the examples below with yarn.lock or pnpm-lock.yaml if your project uses those lockfiles.

Analyze your dependency graph

depsly analyze package-lock.json

JSON export:

depsly analyze package-lock.json --json

Get prioritized recommendations

depsly recommend package-lock.json

JSON export:

depsly recommend package-lock.json --json

Trace why a package exists

depsly trace package-lock.json @babel/core@7.29.0

JSON export:

depsly trace package-lock.json @babel/core@7.29.0 --json

Preview structural impact of removal

depsly simulate-remove package-lock.json eslint@9.39.4

JSON export:

depsly simulate-remove package-lock.json eslint@9.39.4 --json

Save and compare scans over time

depsly save-scan package-lock.json
depsly list-scans --project frontend
depsly compare-scans ~/.depsly/scans/frontend-2026-04-11T10-15-43Z.json ~/.depsly/scans/frontend-2026-04-12T09-20-00Z.json

Open the dependency graph in your browser

depsly graph-html package-lock.json

The HTML report now opens in an Explorer-first surface:

  • Explorer view for a readable collapsible dependency tree
  • Graph view for neighborhood or full-graph relationship inspection
  • Path from root in the sidebar to explain why a package exists
  • Search, keyboard pan/zoom, and box-zoom controls for graph inspection

🧪 Example Output

Depsly Recommendations
Project: frontend
Packages analyzed: 204

1. eslint@9.39.4
   Action: REVIEW
   Actionability: MEDIUM
   Reason confidence: HIGH
   Impact: 35%
   Classification: Direct (root dev dependency)

   Why:
     - Direct dependency from root devDependencies
     - Structural impact: 35% (71 packages). Verify whether this dependency is still required

🧭 How to Read the Output

Action

What Depsly suggests:

  • REVIEW → investigate before changing
  • REMOVE → strong candidate to remove
  • TRACE_UPSTREAM → change parent dependency instead
  • DEFER → low priority

Actionability

How easy it is to change:

  • HIGH → easy to modify
  • MEDIUM → moderate effort
  • LOW → difficult or risky

Impact

Percentage of your dependency graph affected.


Reason confidence

How strong the structural signal is:

  • HIGH → direct + clear signals
  • MEDIUM → inferred from structure
  • LOW → limited information

🔁 Typical Workflow

analyze → recommend → trace → simulate-remove
                 ↓
              save-scan → list-scans → compare-scans
                 ↓
              graph-html

⚠️ Important

Structural analysis only.
Does not guarantee install, build, or runtime correctness.


🔐 Why Local-First Matters

  • No source code upload
  • No account required
  • No rate limits
  • Fully deterministic

🎯 Philosophy

Depsly is not a scanner.

It is a:

Dependency decision support system


📚 Docs

Run the CLI help to explore all commands and options:

depsly --help

For command-specific help:

depsly analyze --help
depsly recommend --help
depsly trace --help
depsly simulate-remove --help
depsly save-scan --help
depsly list-scans --help
depsly compare-scans --help
depsly graph-html --help

Example:

depsly recommend package-lock.json

🚧 Status

Early release (v0.1.14)

Core features are stable:

  • analyze
  • analyze --json
  • recommend
  • recommend --json
  • trace
  • trace --json
  • simulate-remove
  • simulate-remove --json
  • save-scan
  • list-scans
  • compare-scans
  • package-lock.json v1 support
  • pnpm-lock.yaml support
  • graph-html Explorer-first HTML report with collapsible tree, path view, and neighborhood graph
  • telemetry Opt-in anonymous command-level usage telemetry with local queueing, batch flush, and reference ingest/reporting tooling
  • scripts/scan_repos.py batch workflow

☕ Support Depsly

Find Depsly useful? Buy me a coffee to help support ongoing development. The CLI remains free and open source.

You can also find the link with depsly support or depsly --help.


💬 Feedback

If you try Depsly on your project, I’d love to hear:

  • what felt useful
  • what felt off
  • what you expected but didn’t see

Email: info+depsly@convologix.com or open an issue on GitHub: https://github.com/sshiraz/depsly

Even a quick note or screenshot is incredibly helpful.

I read every message.


🏁 Summary

Depsly helps you move from:

“I have 200 dependencies…”

to:

“Here’s exactly what I should look at first.”

Metadata

Release files for depsly 0.1.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for depsly 0.1.14
File Size Uploaded Provenance Actions
depsly-0.1.14.tar.gz 85.9 kB Without provenance Details for depsly-0.1.14.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for depsly 0.1.14
File Interpreter ABI Platform Actions
depsly-0.1.14-py3-none-any.whl Python 3 none any Details for depsly-0.1.14-py3-none-any.whl

Total release size: 148.6 kB

Release files / depsly-0.1.14.tar.gz

Download URL depsly-0.1.14.tar.gz
Size 85.9 kB
Tags Source
SHA-256 checksum
How to use checksums
757561231df204eee25ddc887064967d21d137df65dc82921f8b24288fa43111
BLAKE2b-256 checksum
How to use checksums
00cde2365334b06f741259204888d659f06003be059b440bc62db6b42f01af1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / depsly-0.1.14-py3-none-any.whl

Download URL depsly-0.1.14-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be61fd2f2014d2566f3f350101ead25db1442ab631b95c3dd16bb4cc4325986e
BLAKE2b-256 checksum
How to use checksums
e3dac162757c98e1fd61366fe1fd2f04795cb52dd7d442a21cdd0ffaf2569823
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for depsly 0.1.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page