medyll
Profile
← all projects

@medyll/svelte-5-documentor

AST-based metadata extractor for Svelte 5 components

svelte-5-documentor reads Svelte 5 components as AST and extracts props, exports, generics, and JSDoc without running the compiler, producing structured docs any TypeScript toolchain can consume.

Where it sits


flowchart TD
  P["idea / needs"] --> S["svelte-5-documentor"]
  S --> A["AST parse, no compiler invocation"]
  S --> B["props, exports, generics, JSDoc"]
  S --> C["drop-in for TS toolchains"]

Overview


Parses Svelte 5 component source via AST to extract props, exports, generics, and JSDoc comments, generating structured documentation without invoking the compiler. Drop-in for any TypeScript toolchain.

Highlights


  • · AST analysis, no compiler
  • · Props, exports, generics, JSDoc
  • · TypeScript toolchain integration
TypeScriptSvelte 5
View source →