From f01292983ee57c0c164f95954d71645c48d9e24b Mon Sep 17 00:00:00 2001 From: ErikPham Date: Sun, 7 Apr 2024 06:53:23 +0700 Subject: [PATCH] chore: update init config fetch in readme --- README.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/README.md b/README.md index ccc55be..1b24f85 100644 --- a/README.md +++ b/README.md @@ -26,22 +26,7 @@ This project aims to harness the efficiencies of Google Fonts v2, offering a str ### Create Google Fonts Fetch ```js import { createGoogleFontsFetch } from '@frontlabsofficial/google-fonts-fetch' -const fetch = createGoogleFontsFetch({ - base: 'https://test.com', - metadata: { - name: 'metadata.json', - override: false, - outputPath: path.resolve('.output/metadata'), - }, - outputPath: path.resolve('.output'), - css: { - write: true, - combie: true, - }, - font: { - outputPath: path.resolve('.output/fonts'), - }, -}) +const fetch = createGoogleFontsFetch() ``` ### Download single font ```js