0.6.5 • Published 4 months ago

@primer/figma-library-docgen v0.6.5

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Figma Docgen

Figma Docgen is a tool for extracting component metadata from Figma libraries. This tool is useful for documenting and analyzing Figma libraries.

Installation

To use Figma Docgen, you need to have npm installed. Then run the following command to install Figma Docgen:

npm i @primer/figma-library-docgen

Usage

docgen {{FIGMA_LIBRARY_ID}} --figmaToken {{PERSONAL_ACCESS_TOKEN}}

Figma library id

To use Figma Docgen, you need to pass a Figma library id. You can find the library id by going to the Figma library and copying the id from the URL.

Personal access token

You'll need a Figma personal access token.

Options

  --help               Show help                                       
  --version            Show version number
  --output             File path to output the generated JSON to        
  --figmaToken         Figma API personal access token                
  --downloadImages     Download component image thumbnails to disk
  --downloadImagesDir  Directory path for downloaded component images
  --showWarnings       Log warnings for missing component thumbnails
0.6.5

4 months ago

0.6.4

11 months ago

0.3.0

1 year ago

0.6.3

11 months ago

0.6.2

11 months ago

0.5.3

1 year ago

0.5.5

1 year ago

0.5.0

1 year ago

0.3.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.6.1

11 months ago

0.5.2

1 year ago

0.6.0

1 year ago

0.5.1

1 year ago

0.3.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago