# getfont

> Get font from web to local to use the web

Latest version **1.0.20** (published 2016-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install getfont
pnpm add getfont
yarn add getfont
bun add getfont
```

Provides the command `getfont`.

## 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.20 |
| Published | 2016-04-28 |
| First published | 2016-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 9 |
| Author | Fabio Rogerio SJ |
| Maintainers | fabiorogeriosj |
| Keywords | font |

## Links

- npm: https://www.npmjs.com/package/getfont
- Repository: https://github.com/fabiorogeriosj/getfont
- Homepage: https://github.com/fabiorogeriosj/getfont#readme
- Issues: https://github.com/fabiorogeriosj/getfont/issues
- npm.io page: https://npm.io/package/getfont

## Dependencies (2)

- [colors](https://npm.io/package/colors.md) ^1.1.2
- [request](https://npm.io/package/request.md) ^2.72.0

## 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.20 (latest) — 2016-04-28
- 1.0.19 — 2016-04-28
- 1.0.18 — 2016-04-28
- 1.0.17 — 2016-04-28
- 1.0.16 — 2016-04-28
- 1.0.15 — 2016-04-28
- 1.0.14 — 2016-04-28
- 1.0.13 — 2016-04-28
- 1.0.11 — 2016-04-28
- 1.0.10 — 2016-04-28
- 1.0.9 — 2016-04-28
- 1.0.8 — 2016-04-28
- 1.0.7 — 2016-04-28
- 1.0.6 — 2016-04-28
- 1.0.5 — 2016-04-28
- … 5 more at https://npm.io/package/getfont/versions

## README

# GetFont

[![GetFont Logo](src/getfont.png)](https://www.npmjs.com/package/getfont)

A simple download font for use in webapp.
https://www.npmjs.com/package/getfont



## Install


```
$ npm install -g getfont
```

## Get a font

> In version 1 just work Google Fonts

###You can get by name:

```
$ getfont Ubuntu
```

More size and family

```
$ getfont "Ubuntu:400,300,700|Open+Sans:400,300"
```

###You can get by URL:

```
$ getfont "https://fonts.googleapis.com/css?family=Ubuntu"
```

###You can get by code generated in host:

```
$ getfont "<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>"
```

###You can force download format font:

> By default the download is .woff2

```
$ getfont "Ubuntu:400,300,700|Open+Sans:400,300" --woff
```

Formats:
```
--ttf: Get font format .ttf
--woff: Get font format .woff
--woff2: Get font format .woff2
--eot: Get font format .eot
```

###Project Ionic:

You can add the source using the parameter ```--ionic```

```
$ getfont Ubuntu --ionic
```

![GetFont --ionic](src/getfont_ionic.gif)


## Licence
[MIT License](./LICENSE)

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