Skip to content

Commit

Permalink
Merge pull request #3 from FrontLabsOfficial/chore/update-init-config…
Browse files Browse the repository at this point in the history
…-fetch-in-readme

chore: update init config fetch in readme
  • Loading branch information
ErikPham authored Apr 6, 2024
2 parents 3a21378 + f012929 commit dfbeb79
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfbeb79

Please sign in to comment.