# fontello-svg

> fontello-svg is a command-line tool to generate the SVG versions of a Fontello icon set, with a corresponding CSS file.

Latest version **0.5.0** (published 2015-12-15) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install fontello-svg
pnpm add fontello-svg
yarn add fontello-svg
bun add fontello-svg
```

Provides the command `fontello-svg`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2015-12-15 |
| First published | 2013-11-15 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 67 |
| Author | Pierre Bertet |
| Maintainers | bpierre |

## Links

- npm: https://www.npmjs.com/package/fontello-svg
- Repository: https://github.com/bpierre/fontello-svg
- Homepage: https://github.com/bpierre/fontello-svg#readme
- Issues: https://github.com/bpierre/fontello-svg/issues
- npm.io page: https://npm.io/package/fontello-svg

## Dependencies (7)

- [async](https://npm.io/package/async.md) ~0.2.9
- [colors](https://npm.io/package/colors.md) ~0.6.2
- [mkdirp](https://npm.io/package/mkdirp.md) ~0.3.5
- [nodupes](https://npm.io/package/nodupes.md) ~0.1.0
- [request](https://npm.io/package/request.md) ~2.38.0
- [commander](https://npm.io/package/commander.md) ~2.0.0
- [underscore](https://npm.io/package/underscore.md) ~1.5.2

## Recent versions

- 0.5.0 (latest) — 2015-12-15
- 0.4.1 — 2014-04-16
- 0.4.0 — 2014-02-02
- 0.3.2 — 2013-12-06
- 0.3.1 — 2013-11-20
- 0.3.0 — 2013-11-15
- 0.2.1 — 2013-11-15
- 0.2.0 — 2013-11-15
- 0.0.1 — 2013-11-15

## README

# fontello-svg

fontello-svg is a command-line tool to generate the SVG versions of a [Fontello](http://fontello.com/) icon set, with a corresponding CSS file.

[![Build Status](https://travis-ci.org/bpierre/fontello-svg.png?branch=master)](https://travis-ci.org/bpierre/fontello-svg)

## Installation

```shell
$ npm install fontello-svg -g
```

## Example

You need to select and download an icon set from the Fontello website, then indicate the path of the `config.json` file with the `--config` parameter.

```shell
$ fontello-svg.js --config fontello-config-file.json \
                  --out ./iconset-directory \
                  --fill-colors "grey:rgb(77,78,83)|blue:rgb(0,149,221)"
```

## Usage

```shell
  Usage: fontello-svg.js --config <config file> --out <dir> [options]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -c, --config <config file>  Set the Fontello configuration file (required)
    -o, --out <dir>             Set the export directory (required)
    -f, --fill-colors <colors>  Transform the SVG paths to the specified colors. Syntax: --fill-colors "black:rgb(0,0,0) | red:rgb(255,0,0)"
    -p, --css-path <path>       Set a CSS path for SVG backgrounds
    --file-format <format>      Override the default filename. Values: {0} - collection, {1} - name, {2} - color. Syntax: --file-format "{0}-{1}-{2}.svg" | --file-format "{0}-Custom-{1}.svg"
    --no-css                    Do not create the CSS file
    --no-skip                   Do not skip existing files
    --verbose                   Verbose output
```

## License

[MIT](http://pierre.mit-license.org/)

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