@robotical/scratch-to-python-transpiler
Version:
Transpile Scratch project files to python code
20 lines (19 loc) • 487 B
TypeScript
interface ToPythondOptions {
leopardJSURL: string;
leopardCSSURL: string;
getTargetURL: (info: {
name: string;
from: "index" | "target";
}) => string;
getAssetURL: (info: {
type: "costume" | "sound";
target: string;
name: string;
md5: string;
ext: string;
}) => string;
indexURL: string;
autoplay: boolean;
}
export default function toPython(options?: Partial<ToPythondOptions>): string;
export {};