3 ms·
Another trick is to append a typeface- before the font name when searching NPM, e.g. here: https://npms.io https://npms.io The creator of the Gatsby static sit
by deltron3030 8y ago
Another trick is to append a typeface- before the font name when searching NPM, e.g. here: https://npms.io https://npms.io
The creator of the Gatsby static site generator has a "typeface.js" repo where he uploads and prepares free Google and Fontsquirrel fonts for NPM, including the css. It makes the self hosting of fonts really easy if you use webpack.
https://github.com/KyleAMathews/typefaces https://github.com/KyleAMathews/typefaces