1.0.20 • Published 8 years ago

getfont v1.0.20

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

GetFont

GetFont Logo

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

Licence

MIT License

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago