
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
figma-api-exporter
Advanced tools
Allows you to export assets from Figma files automatically and use it in your project.
Allows you to export assets from Figma files automatically and use it in your project.
const figmaApiExporter = require('figma-api-exporter').default;
const exporter = figmaApiExporter(YOUR_FIGMA_API_TOKEN);
exporter
.getSvgs({
fileId: YOUR_FIGMA_FILE_ID,
canvas: 'Icons',
})
.then(svgsData =>
exporter.downloadSvgs({
saveDirectory: './svgsFiles',
svgsData: svgsData.svgs,
lastModified: svgsData.lastModified,
})
);
Function which fetches urls of component exports as svgs.
Arguments:
Function which downloads svg files to your directory. It checks Figma File modification date and component ids to find out if your local copy is up to date before downloading everything. You can replace this function with your own script.
Arguments:
.getSvgs()
.lastModified
value returned from .getSvgs()
, used to check if Figma file was modified and it should continue downloadingfalse
) - change to true
if you want to clear the saveDirectory
before downloading files, it comes handy when you want to delete old icons, which don't exist in Figma anymoreFAQs
Allows you to export assets from Figma files automatically and use it in your project.
The npm package figma-api-exporter receives a total of 6,959 weekly downloads. As such, figma-api-exporter popularity was classified as popular.
We found that figma-api-exporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.