Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@figma-export/transform-svg-with-svgo

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma-export/transform-svg-with-svgo - npm Package Compare versions

Comparing version 0.0.1-alpha.7 to 0.0.1-alpha.8

4

package.json
{
"name": "@figma-export/transform-svg-with-svgo",
"version": "0.0.1-alpha.7",
"version": "0.0.1-alpha.8",
"description": "Transformer for @figma-export that optimizes svgs using svgo tool",

@@ -19,3 +19,3 @@ "main": "index.js",

},
"gitHead": "dc0b939c0fd0f654e7c390429e371a3a8c8e4859"
"gitHead": "358ac4e5fc372091f4eae2278bae64dea2834b94"
}
# @figma-export/transform-svg-with-svgo
> Transformer for [@figma-export](https://github.com/marcomontalbano/figma-export) that optimizes svgs using `svgo` tool.
> Transformer for [@figma-export](https://github.com/marcomontalbano/figma-export) that optimizes svgs using [svgo](https://github.com/svg/svgo) tool.

@@ -10,3 +10,3 @@ ## Install

```sh
npm i -D @figma-export/transform-svg-with-svgo
npm install --save-dev @figma-export/transform-svg-with-svgo
```

@@ -19,1 +19,20 @@

```
## Usage
You can use a custom configuration for svgo, creating a `.figmaexportrc.js` file and provide a `config` object for this package.
```js
// .figmaexportrc.js
module.exports = {
configs: [
['@figma-export/transform-svg-with-svgo', {
plugins: [
{ removeViewBox: false },
{ removeDimensions: true }
]
}]
]
};
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc