Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getfont

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getfont

Get font from web to local to use the web

  • 1.0.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 28 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc