MCPcopy
hub / github.com/vercel/next.js / md

Function md

packages/next/src/compiled/@vercel/og/index.edge.js:17846–17848  ·  view source on GitHub ↗
(e, t, n)

Source from the content-addressed store, hash-verified

17844 return { words: f, requiredBreaks: l2, allowSoftWrap: u2, allowBreakWord: p, processedContent: s, shouldCollapseTabsAndSpaces: a, lineLimit: h2, blockEllipsis: m2 };
17845}
17846function md(e, t, n) {
17847 return t === "uppercase" ? e = e.toLocaleUpperCase(n) : t === "lowercase" ? e = e.toLocaleLowerCase(n) : t === "capitalize" && (e = Ve(e, "word", n).map((r) => Ve(r, "grapheme", n).map((i, o) => o === 0 ? i.toLocaleUpperCase(n) : i).join("")).join("")), e;
17848}
17849function gd(e, t) {
17850 let { textOverflow: n, lineClamp: r, WebkitLineClamp: i, WebkitBoxOrient: o, overflow: s, display: a } = e;
17851 if (a === "block" && r) {

Callers 1

KaFunction · 0.85

Calls 3

VeFunction · 0.70
joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected