ModuleExtractorInputinterface
{
readonly name: string;
readonly source: TreeElement;
}| Property | Type | |
|---|---|---|
.name | string | Display name for the module, derived from the package.json export key (e.g. "util/string", "firestore/client"). required readonly |
.source | TreeElement | The source element this module is built from. - A file-backed tree-element — the module is backed by a single source file (with its .md sibling already merged in by MergingExtractor).- A directory-backed tree-element — the module is backed by a directory; its absorbed index file provides the content. required readonly |
Input for a ModuleExtractor.