Skip to content

Instantly share code, notes, and snippets.

@mknospe
Created May 28, 2019 10:01
Show Gist options
  • Save mknospe/e3adef87e4db20acd3d8ef6502089db5 to your computer and use it in GitHub Desktop.
Save mknospe/e3adef87e4db20acd3d8ef6502089db5 to your computer and use it in GitHub Desktop.
Synchronous NodeJS script to parse CSS files and read out used font-family, font-weight and font-styles to generate a <link> tag for Google custom fonts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment