🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

chentao-test-01

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chentao-test-01

create fonticons from svgs cli

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

脚手架工具创建字体图标

安装前,如果不知道源和环境列表的配置,请移步npmjs维基

  • registry源
  • sinopia

安装

npm install @fee/font-generator -g

安装过程中可能会有报错,不影响实际使用

帮助

在命令行工具执行

font-generator --help

使用帮助

支持配置文件

{
  "fontName": "ConfigFont",
  "style"   : "./dist/config/css/config.css",
  "font"    : "./dist/config/config/fonts",
  "svgFiles": "./assets/*.svg"
}

实例

在某个静态页面项目下面打开命令行窗口,将 img/svg/ 目录下的svg图标全部制作成字体图标。

    font-generator img/svg/*.svg --style css/font.css --font img/fonts

尝遍人间甘辛味,言外冷暖我自知

Keywords

font

FAQs

Package last updated on 11 Feb 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