# edp-build-iconfont

> edp-build iconfont with fontmin, generate iconfont from svgs.

Latest version **1.0.3** (published 2015-05-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install edp-build-iconfont
pnpm add edp-build-iconfont
yarn add edp-build-iconfont
bun add edp-build-iconfont
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2015-05-15 |
| First published | 2015-05-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | junmer |
| Maintainers | junmer, ecomfe |
| Keywords | edp, build, fontmin, font, icon, iconfont, webfont, font-face, ttf, svg, woff, eot |

## Links

- npm: https://www.npmjs.com/package/edp-build-iconfont
- Repository: https://github.com/ecomfe/edp-build-iconfont
- Issues: https://github.com/ecomfe/edp-build-iconfont/issues
- npm.io page: https://npm.io/package/edp-build-iconfont

## Dependencies (2)

- [extend](https://npm.io/package/extend.md) ^2.0.0
- [fontmin](https://npm.io/package/fontmin.md) ^0.8.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

- 1.0.3 (latest) — 2015-05-15
- 1.0.2 — 2015-05-08
- 1.0.1 — 2015-05-06
- 1.0.0 — 2015-05-05
- 0.0.0 — 2015-05-05

## README

# edp-build-iconfont

> edp-build iconfont with fontmin, generate [iconfont](https://github.com/showcases/icon-fonts) from svgs.

## Usage

`edp-build-config.js`:

```
var IconProcessor = require('edp-build-iconfont');

exports.getProcessors = function () {

    var iconProcessor = new IconProcessor({
        files: 'src/svg/*.svg',             // svg path
        fontName: 'font-food',              // font name
        dest: 'src/font'                    // dest path
    });

    return {
        'iconfont': [iconProcessor]
    };

});
```

## Options

config `fmOptions` as [fontmin](https://github.com/ecomfe/fontmin) options

```
var iconProcessor = new IconProcessor({
    fmOptions: {
        adjust: {
            leftSideBearing: 0,
            rightSideBearing: 0,
            ajdustToEmBox: true,
            ajdustToEmPadding: 0
        },
        startCode: 0xe001
    }
});
```

## Related

- [edp-build-iconfont-demo](https://github.com/junmer/edp-build-iconfont-demo)
- [edp-build-fontmin](https://github.com/ecomfe/edp-build-fontmin)
- [fontmin](https://github.com/ecomfe/fontmin)

[![NPM](https://nodei.co/npm/edp-build-iconfont.png?downloads=true&stars=true)](https://nodei.co/npm/edp-build-iconfont/)

---
_Source: https://npm.io/package/edp-build-iconfont · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
