New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jsweb/font-awesome-base64

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsweb/font-awesome-base64

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

2.1.0
Source
npm
Version published
Weekly downloads
115
-30.3%
Maintainers
1
Weekly downloads
 
Created
Source

@jsweb/font-awesome-base64 img

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

About

This compilation uses original files from fontawesome package and a little custom hack to replace @font-face src url settings and embed font with data-uri.

Only WOFF2 fonts are included to minify the compiled CSS at most as possible and because WOFF2 is supported by all major modern browsers. Web is the focus here.

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

Can I use - WOFF2

Install

CDN

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

NPM

npm i -S @jsweb/font-awesome-base64

Yarn

yarn add @jsweb/font-awesome-base64

Files

If you download the package using NPM or Yarn, you must use files as follows:

  • dist/fa-base.css: Fontawesome base icon classes (55.8 kB)
  • dist/fa-brands.css: Web font for brand icons (101.5 kB)
  • dist/fa-regular.css: Web font for regular icons (18.4 kB)
  • dist/fa-solid.css: Web font for solid icons (101,7 kB)
  • dist/fa-all.css: All above (277.3 kB)

Only free icons are included and you can see them at Fontawesome icons index:

https://fontawesome.com/icons?d=gallery&s=brands,regular,solid&m=free

Keywords

icons

FAQs

Package last updated on 11 Jun 2020

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