Public
Script
Forked from rodrigotello/FigmaFrameToHTML
October 23, 2023
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { figmaFramesFromURL } from "https://esm.town/v/vez/figmaFramesFromURL";
import { FigmaFrameObjectToHTML } from "https://esm.town/v/rodrigotello/FigmaFrameObjectToHTML?v=6";
export async function FigmaFrameToHTML(
req: express.Request,
res: express.Response,
) {
return res.send(
FigmaFrameObjectToHTML(
(await figmaFramesFromURL(
"https://www.figma.com/file/kljuHD3J7yYMJxXUX9zY4S/valtowntest",
))[0],
),
);
}
// Forked from @rodrigotello.FigmaFrameToHTML
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023