Skip to content
S

Sveld

Generate TypeScript definitions and component documentation

by carbon-design-systemFree

#2964in Utilities
0In stores

Description

sveld reads Svelte components and generates TypeScript definitions and component documentation for them. You point it at your components, an…

Highlights

  • TypeScript definitions for Svelte components
  • Props types with defaults from JSDoc
  • Rest props typed from the wrapped HTML element
  • Output as TypeScript, JSON or Markdown
  • Source on GitHub in carbon-design-system

Ratings & Reviews

No ratings yet

Be the first to rate Sveld.

People also visit

T

typescript-docs

Generates comprehensive TypeScript documentation

AI Skills
Get
S

svelte-code-writer

CLI tools for Svelte 5 documentation lookup and code analysis

AI Skills
Get
T

Typedoc

Documentation generator for TypeScript projects

Utilities
Launch
D

Doxdox

📘 JSDoc to Markdown, Bootstrap, and custom JavaScript template documentation…

Utilities
Launch
T

Tsdocs

Browse type documentation for JS libraries

Developer Tools
Launch
X

xyd

Create powerful, interactive documentation

Developer Tools
Launch

Sveld FAQ

What does sveld do?

It reads Svelte components and generates TypeScript definitions and documentation, so their props and children are typed.

What output formats does it support?

TypeScript, JSON and Markdown, according to the site.

What do the generated types contain?

A props type with defaults from JSDoc @default tags, rest props typed from the wrapped HTML element, and a children snippet type, plus a component class.

Where is the source?

On GitHub in the carbon-design-system/sveld repository.

What are the best Sveld alternatives?

Popular alternatives to Sveld include Typedoc, Doxdox and Deno Doc. See all Sveld alternatives

Developer Stuff

Badges