MCPcopy Create free account
hub / github.com/cloudflare/realtimekit-ui / constructor

Method constructor

scripts/generate-stencil-docs.js:11–19  ·  view source on GitHub ↗
(filePath, outputDir, frameworkOverride = null)

Source from the content-addressed store, hash-verified

9 */
10class StencilDocGenerator {
11 constructor(filePath, outputDir, frameworkOverride = null) {
12 this.filePath = filePath;
13 this.outputDir = outputDir;
14 this.components = new Map();
15 this.events = new Map();
16 this.libraryName = frameworkOverride
17 ? this.formatFrameworkName(frameworkOverride)
18 : this.detectLibraryName(filePath);
19 }
20
21 escapeMarkdownTableCell(value) {
22 if (value == null) return '';

Callers

nothing calls this directly

Calls 2

formatFrameworkNameMethod · 0.95
detectLibraryNameMethod · 0.95

Tested by

no test coverage detected