# @minolettinat/proxy-figma-export-transform-svg-with-svgo

> Transformer for @minolettinat/figma-export that optimizes svgs using svgo tool

Latest version **4.5.2** (published 2023-02-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @minolettinat/proxy-figma-export-transform-svg-with-svgo
pnpm add @minolettinat/proxy-figma-export-transform-svg-with-svgo
yarn add @minolettinat/proxy-figma-export-transform-svg-with-svgo
bun add @minolettinat/proxy-figma-export-transform-svg-with-svgo
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 4.5.2 |
| Published | 2023-02-20 |
| First published | 2023-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | ^12.22.0 \|\| ^14.17.0 \|\| >=16.0.0 |
| Dependencies | 3 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 349 |
| Author | Marco Montalbano |
| Maintainers | minolettinat |
| Keywords | figma, export, design, icons, typography, components, svg |

## Links

- npm: https://www.npmjs.com/package/@minolettinat/proxy-figma-export-transform-svg-with-svgo
- Repository: https://github.com/marcomontalbano/figma-exporter
- Homepage: https://github.com/marcomontalbano/figma-exporter#readme
- Issues: https://github.com/marcomontalbano/figma-exporter/issues
- npm.io page: https://npm.io/package/@minolettinat/proxy-figma-export-transform-svg-with-svgo

## Dependencies (3)

- [svgo](https://npm.io/package/svgo.md) ^2.3.0
- [@types/svgo](https://npm.io/package/@types/svgo.md) ^2.3.0
- [@minolettinat/proxy-figma-export-types](https://npm.io/package/@minolettinat/proxy-figma-export-types.md) ^4.5.1

## Alternatives

- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) — 2.2M weekly downloads
- [roboto-fontface](https://npm.io/package/roboto-fontface.md) — 196.0K weekly downloads
- [@react-native-vector-icons/common](https://npm.io/package/@react-native-vector-icons/common.md) — 150.4K weekly downloads
- [stockfish](https://npm.io/package/stockfish.md) — 27.0K weekly downloads
- [@procore/core-icons](https://npm.io/package/@procore/core-icons.md) — 4.6K weekly downloads

## Recent versions

- 4.5.2 (latest) — 2023-02-20
- 4.5.1 — 2023-02-17

## README

# @minolettinat/proxy-figma-export-transform-svg-with-svgo

> Transformer for [@minolettinat/figma-export](https://github.com/marcomontalbano/figma-export) that optimizes svgs using [svgo](https://github.com/svg/svgo) tool.

## Install

Using npm:

```sh
npm install --save-dev @minolettinat/proxy-figma-export-transform-svg-with-svgo
```

or using yarn:

```sh
yarn add @minolettinat/proxy-figma-export-transform-svg-with-svgo --dev
```

## 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: [
    ['@minolettinat/proxy-figma-export-transform-svg-with-svgo', {
      plugins: [
        {
          name: 'preset-default',
          params: {
            overrides: {
              removeViewBox: false,
            }
          }
        },
        {
          name: 'removeDimensions',
          active: true
        }
      ]
    }]
  ]
};
```

---
_Source: https://npm.io/package/@minolettinat/proxy-figma-export-transform-svg-with-svgo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
