getCodeFiles

Beta
Beta

getCodeFiles

getCodeFiles

Get all code files in the project.

const allFiles = await framer.getCodeFiles();
console.log(`Project has ${allFiles.length} code files`);

Returns

  • Promise<readonly CodeFile[]> – An array of all CodeFile instances