1.2.2 • Published 3 years ago
google-font-family-downloader v1.2.2
Google Font Downloader For Nodejs
Install
npm i google-font-family-downloader
Usage
import { join } from 'path';
import { downloadGoogleFontFamily } from 'google-font-family-downloader';
const FONTS_DIRECTORY = join(process.cwd(), `fonts`);
// some where else
const fonts = await downloadGoogleFontFamily('Roboto', FONTS_DIRECTORY);