webfont-converter
v1.6.1
Published
Converts ttf files into formats that modern browsers need
Maintainers
Readme
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 --devInstall with npm
npm install -g webfont-converter --devusage example
webfont-converter --path=./fontpathor
webfont-converter --p=./fontpathTODO
- [ ] option to only convert a single file and not the whole directory
- [ ] creating css code output of converted files
- [x] already existing files don't have to be removed manually
- [x] adding check on missing trailing slash
