LibraryDetail.svelte view source
accepts children
import LibraryDetail from '@fuzdev/fuz_ui/LibraryDetail.svelte'; Renders library metadata (name, description, links, license) and a module index with file-type coloring. Uses svelte-docinfo's file type predicates for module classification.
library
type Library
links_full?
Link the module/declaration index to the library's own deployed docs
(url_api_full) instead of site-local paths. Use when rendering a
foreign library on a different site, e.g. an aggregator.
type
booleanoptional default
falserepo_name?
type
Snippet<[repo_name: string]>optional
snippet parameters
repo_name stringdescription?
type
Snippet<[description: string]>optional
snippet parameters
description stringtagline?
type
Snippet<[description: string]>optional
snippet parameters
description stringnpm_url?
type
Snippet<[npm_url: string]>optional
snippet parameters
npm_url stringhomepage_url?
type
Snippet<[homepage_url: string]>optional
snippet parameters
homepage_url stringchildren?
type
Snippet<[library: Library]>optional
snippet parameters
library Libraryexternal types
OmitStrict<SvelteHTMLElements['div'], 'children'>see also
``library.svelte.ts`` for the Library wrapper class
{@linkhttps://github.com/ryanatkn/svelte-docinfo svelte-docinfo} for the analysis library