webfont-tools

some simple tools for dealing with webfonts


Keywords
font, webfont, svg, javascript
License
MIT
Install
npm install webfont-tools@1.0.2

Documentation

webfont-tools

some simple tools for dealing with webfonts

features

config

can be configured via .webfont-toolsrc (or other rc-compatible config)

  • in:
    • for svgs to font: filepath of folder containing svgs; default - ./in/svgs
    • for font to svgs: filepath of svg webfont; default - ./in/iconfont.svg
  • out:
    • for svgs to font: filepath of folder to output font; default - ./out/font
    • for font to svgs: filepath of folder to output svgs; default - ./out/svgs
  • fontName: name of output font for svgs to font; default - iconfont