figma-node-decoder
figma-node-decoder copied to clipboard
Converts any Figma layer/node to Plugin API compatible code.
It would be nice to have a way to export/import JSON schemas instead of generating the plugin/widget code. Maybe this can be accomplished using the `nodeToObject` function for export. For...
encoding\decoding images in Uint8Array feel free to contact if you have any questions
In some instances, characters like brackets `(` are not escaped which creates an invalid var name.
The source code generated for fills with a gradient is incorrect.
Text layers where their names haven't been changed shouldn't have a name prop generated. Currently, this produces nodes with the name set to the same as what the characters are...
If a fill or stroke uses images they are not generated by the plugin.