
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@primer/figma-library-docgen
Advanced tools
Figma Docgen is a tool for extracting component metadata from Figma libraries. This tool is useful for documenting and analyzing Figma libraries.
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
docgen {{FIGMA_LIBRARY_ID}} --figmaToken {{PERSONAL_ACCESS_TOKEN}}
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.
You'll need a Figma personal access token.
--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
FAQs
A tool to extract information from Figma libraries
The npm package @primer/figma-library-docgen receives a total of 7 weekly downloads. As such, @primer/figma-library-docgen popularity was classified as not popular.
We found that @primer/figma-library-docgen demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.