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

Function fmtProps

packages/cli/src/commands/keyframes.ts:577–582  ·  view source on GitHub ↗
(props: Record<string, number | string>)

Source from the content-addressed store, hash-verified

575// ── Render (human) ───────────────────────────────────────────────────────────
576
577function fmtProps(props: Record<string, number | string>): string {
578 return Object.entries(props)
579 .filter(([k]) => k !== "ease")
580 .map(([k, v]) => `${k}:${v}`)
581 .join(" ");
582}
583
584function printTween(t: SurfacedTween): void {
585 const timing = c.dim(`@${t.start}s→${t.end}s (${t.duration}s)`);

Callers 2

printTweenFunction · 0.85
printTraceFunction · 0.85

Calls 1

entriesMethod · 0.80

Tested by

no test coverage detected