Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 607 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 607 Bytes

webfont-converter

This package can be used to convert a TTF file into a WOFF and WOFF2 file at once

usage

Install with yarn

yarn global add webfont-converter --dev

Install with npm

npm install -g webfont-converter --dev

usage example

webfont-converter --path=./fontpath

or

webfont-converter --p=./fontpath

TODO

  • option to only convert a single file and not the whole directory
  • creating css code output of converted files
  • already existing files don't have to be removed manually
  • adding check on missing trailing slash