MCPcopy Create free account
hub / github.com/fbeline/design-patterns-JS / writeSectionContents

Function writeSectionContents

scripts/build-docs.js:64–67  ·  view source on GitHub ↗
({ name, topics })

Source from the content-addressed store, hash-verified

62`;
63
64const writeSectionContents = ({ name, topics }) =>
65`**[${reverseDashCase(name)}](#${dashCase(name)})**
66${topics.map( writeTopicContents ).join('')}
67`;
68
69const writeTopicContents = ({ name }) => `* [${reverseDashCase(name)}](#${dashCase(name)})
70`;

Callers

nothing calls this directly

Calls 2

reverseDashCaseFunction · 0.85
dashCaseFunction · 0.85

Tested by

no test coverage detected