uses webfont-loader internal, but skips loading font when font is already downloaded. Good for multiple components using the same font.


1.1.05 years ago5 years agoMinified + gzip package size for @idw/googlefonts-loader in KB



This module uses webfontloader internally. What it adds is dedupe functionality of loaded fonts. Which means it won't load a font that is already loaded.

It leverages FontFaceSet web api. It is currently expiremental. However, if this module detects it doesn't have fontFaceSet it just loads the font (which is the default behavior).

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.