Socket
Socket
Sign inDemoInstall

@acryps/glyph

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acryps/glyph

Convert your icons into a glyph font while building.


Version published
Weekly downloads
15
increased by275%
Maintainers
0
Weekly downloads
 
Created
Source

@acryps/glyph

Convert your icons into a glyph font while building.

Run this in your build:

npx glyph <icons directory> <output directory> <optional base path>

Make sure that the icons are named lowercase, using letters, numbers and dashes (-). The optional base path is used as a prefix for the location of the font files

Will generate

  • Glyph Fonts in WOFF, WOFF2, TTF, SVG and EOT
  • @acryps/style mapping and font declaration (include in your root stylesheet using icons())
  • Direct insert functions to generate DOM elements (just use <name of icon>Icon() in your JSX)

FAQs

Package last updated on 07 Aug 2024

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