MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / capitalize

Function capitalize

scripts/draft-changelog.ts:435–440  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

433}
434
435function capitalize(value: string) {
436 if (!value) {
437 return value;
438 }
439 return value[0].toUpperCase() + value.slice(1);
440}
441
442function renderTagsLiteral(tags: string[]) {
443 return `[${tags.map((tag) => JSON.stringify(tag)).join(", ")}]`;

Callers 3

renderCommitBulletFunction · 0.70
renderMdxCommitBulletFunction · 0.70
formatScopeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected