deep-sveltekit
v1.0.1
Published
Static analysis and architecture map for SvelteKit projects
Maintainers
Readme
deep-sveltekit
Static analysis for SvelteKit projects. One command, one HTML file.
npx deep-sveltekit ./srcParses the AST, resolves $lib and barrel re-exports, and generates a self-contained interactive report.
What you get
- Tree — file explorer with complexity, coupling, and function counts inline
- Treemap — file sizes as nested rectangles, click to drill down
- Routes — every route with method badges you can filter
- Insights — health score, risk hotspots, circular deps, dead exports, orphans, duplicate import paths, import/export mismatches
Everything in a single HTML file. No runtime dependencies.
Usage
npx deep-sveltekit ./src # scan and open
npx deep-sveltekit ./src -o report.html # custom output
npx deep-sveltekit ./src -f json # JSON output
npx deep-sveltekit ./src --no-open # don't open browserAPI
import { analyze } from 'deep-sveltekit';
const report = await analyze('./src');License
MIT
