getCodeFile

Beta
Beta

getCodeFile

getCodeFile

Get a specific code file by its ID.

const codeFile = await framer.getCodeFile("code-file-id");
console.log(`Found file: ${codeFile.name}`);

Parameters

  • id: string – The unique identifier of the code file

Returns

  • Promise<CodeFile | null> – The CodeFile instance or null if not found