README
@compositor/webfont
Webfont loading utilities
npm i @compositor/webfont
const webfont = require('@compositor/webfont')
const linkTagString = webfont.getLinkTag('"Roboto Mono", monospace')
const stylesheetURL = webfont.getURL('"Roboto Mono", monospace')
webfont.isWebfont('Roboto Mono')
// true
const fonts = webfont.fonts
// array of font names from Google Fonts