srcflow
Dependency flow visualizer for any JS / TS / JSX / TSX repository.
Generates a single interactive HTML file — no server, no config, no dependencies.
Every file is a box. Every import is an arrow. Click any file to see exactly what it depends on and what depends on it.
Install
pip install srcflow
Requires Python 3.9+. No other dependencies.
Usage
# inside any JS/TS repo — generates depflow.html
cd /your/repo
srcflow
# target a specific repo from anywhere
srcflow /path/to/repo
# custom output path
srcflow /path/to/repo --out ~/Desktop/myrepo.html
# override source root (if not src/ or lib/)
srcflow /path/to/repo --src /path/to/repo/packages/web/src
What you get
Open depflow.html in any browser:
- 5 columns auto-detected from your directory names: Model → Pages → Components → Services/Effects → Utils
- 186 real import edges drawn as curved arrows between files
- Click any file → its imports highlight blue (↓), files that import it highlight red (↑)
- Double-click → smooth animated zoom into that file
- Search → type any filename, jump with ↑↓, press Enter to focus
- Column tabs → click a layer name to zoom the entire column into view
- Scroll to zoom at cursor · drag to pan · pinch on trackpad
Supported languages
.js .jsx .ts .tsx .mjs .cjs
Parses ES6 import statements and CommonJS require() calls.
License
MIT — Saivamsi Chakrala
Metadata
Release files for srcflow 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| srcflow-0.5.0.tar.gz | 16.7 kB | Without provenance | Details for srcflow-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| srcflow-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for srcflow-0.5.0-py3-none-any.whl |
Total release size: 32.8 kB
Release files / srcflow-0.5.0.tar.gz
| Download URL | srcflow-0.5.0.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8e27b1b2800689a6c383adc811df7f3d0a3aba86e7709cf40a712ebba89c24f
|
|
BLAKE2b-256 checksum How to use checksums |
bc9392b89c0008fb2d2d6fe2dcc8d488fe64ce4ae5173fbd229959aadf926c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / srcflow-0.5.0-py3-none-any.whl
| Download URL | srcflow-0.5.0-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6057ce5544d67a1d6dfc258bface5de01d98619c45e8dfbd07a455495df79013
|
|
BLAKE2b-256 checksum How to use checksums |
108f44710ab97238f627ed540d8f1ffc90e044f15c56677f81641c122070487f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for srcflow 0.5.0
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.