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

Function parseRenderFormat

packages/cli/src/commands/render.ts:139–142  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

137const CPU_CORE_COUNT = cpus().length;
138
139function parseRenderFormat(input: string): RenderFormat | undefined {
140 if (!VALID_FORMAT.has(input)) return undefined;
141 return RENDER_FORMATS.find((format) => format === input);
142}
143
144export default defineCommand({
145 meta: {

Callers 1

runFunction · 0.85

Calls 1

findMethod · 0.65

Tested by

no test coverage detected