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.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
191
increased by8.52%
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.

Font Awesome Free 5.15.1

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

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 modern major browsers.

Web projects are the target. Specially PWA with offline capabilities, caching the CSS icons lib easy.

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)

Keywords

FAQs

Package last updated on 27 Oct 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

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