goji-figma-vars
v1.1.1
Published
Extract variables from Figma files
Downloads
28
Maintainers
Readme
Goji Figma Variables
This is a CLI tool to extract variables from Figma files and save them as a TypeScript file.
To download JSON files you need to install and use Export/Import Variables Plugin
Usage
To run the script locally you need to run a build first:
npm run buildAfter run
npm linkThis will link the local package to the global node_modules directory.
Then you can run the script from anywhere:
npx goji-figma-vars process -s <Source to JSON files> -o <Output file>Example:
npx goji-figma-vars process -s ./folder-with-json-files -o ./output/variables.tsTODO: Once we ready, we need to add this to NPM package and publish it.
