Socket
Socket
Sign inDemoInstall

font-awesome-base64

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    font-awesome-base64

Font Awesome icons compiled with base64 embedded font to CSS instead of link to font files


Version published
Weekly downloads
697
decreased by-34.31%
Maintainers
1
Install size
264 kB
Created
Weekly downloads
 

Readme

Source

font-awesome-base64

Font Awesome icons compiled with base64 embedded font to CSS instead of link to font files.

About

This compilation uses original LESS from font-awesome package and a little custom hack to replace @font-face settings and embed font with data-uri.

Only WOFF fonts are included to minify the compiled CSS at most as possible and because WOFF is basically OTF/TTF with metadata and compression supported by all major browsers.

IE compatibility is not a concern. For a compatibility reference see the link:

Can I use - WOFF

Install

CDN

<link rel="stylesheet" href="https://unpkg.com/font-awesome-base64"/>

NPM

npm i -S font-awesome-base64

Yarn

yarn add font-awesome-base64

Snipacks

snipacks add unpkg fa.css font-awesome-base64

Files

If you download the package using NPM or Yarn, you need to use index.css file.

It also includes an index.json file containing a list of all icons available.

Keywords

FAQs

Last updated on 22 Jul 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc