
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@minolettinat/proxy-figma-export-output-components-as-svg
Advanced tools
Outputter for @minolettinat/proxy-figma-export that exports components as svg
Outputter for @figma-export that exports components as svg.
With this outputter you can export all components as svg into the specified output folder.
This is a sample of the output from this Figma file:
$ tree output/
# output
# ├── icons
# │ ├── figma-arrow.svg
# │ ├── figma-export.svg
# │ └── figma-logo.svg
# └── unit-test
# ├── figma
# │ ├── logo
# │ │ ├── main (bright).svg
# │ │ └── main.svg
# │ └── logo.svg
# └── figma default logo.svg
Tip: A component named
icon/eye
will be exported aseye.svg
inside theicon
folder.
You can easily add this outputter to your .figmaexportrc.js
:
module.exports = {
commands: [
['components', {
fileId: 'fzYhvQpqwhZDUImRz431Qo',
onlyFromPages: ['icons', 'unit-test'],
outputters: [
require('@figma-export/output-components-as-svg')({
output: './output'
})
]
}],
]
}
output
is mandatory.
getDirname
and getBasename
are optional.
const path = require('path');
...
require('@figma-export/output-components-as-svg')({
output: './output',
getDirname: (options) => `${options.pageName}${path.sep}${options.dirname}`,
getBasename: (options) => `${options.basename}.svg`,
})
defaults may change, please refer to
./src/index.ts
Using npm:
npm install --save-dev @figma-export/output-components-as-svg
or using yarn:
yarn add @figma-export/output-components-as-svg --dev
FAQs
Outputter for @minolettinat/proxy-figma-export that exports components as svg
The npm package @minolettinat/proxy-figma-export-output-components-as-svg receives a total of 0 weekly downloads. As such, @minolettinat/proxy-figma-export-output-components-as-svg popularity was classified as not popular.
We found that @minolettinat/proxy-figma-export-output-components-as-svg 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.