node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

icon-font

icon-font

Build Status NPM version Downloads Dependencies

make icon-font from svgs

Usage

  $ icon-font <input> [<output>]

Options

  -f, --font-family  font name

Examples

$ icon-font ./src/svg/*.svg ./output --font-family=fontname
 
created: /Users/baidu/icon-font/output/fontname.ttf
created: /Users/baidu/icon-font/output/fontname.json
created: /Users/baidu/icon-font/output/fontname.html
created: /Users/baidu/icon-font/output/fontname.css
created: /Users/baidu/icon-font/output/fontname.svg
created: /Users/baidu/icon-font/output/fontname.woff
created: /Users/baidu/icon-font/output/fontname.eot
 
all 7 files

Related