This is a node module that uses the API of ttf2woff by nfroidure.
A script that will look for .ttf
files in the same folder and make their respective .woff2
.
After npm -i -g ttf2woff
, simply get the convert.mjs file and node convert.mjs
in the folder you need
Or:
- Download & save it wherever you need
npm install
npm run convert