Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziaenezhad/download-google-font
https://github.com/ziaenezhad/download-google-font
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ziaenezhad/download-google-font
- Owner: ziaenezhad
- License: mit
- Created: 2020-12-03T08:20:27.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T06:56:13.000Z (about 4 years ago)
- Last Synced: 2023-09-15T02:27:52.702Z (over 1 year ago)
- Language: TypeScript
- Size: 622 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Font Downloader For Nodejs
## Install
```bash
npm i google-font-family-downloader
```## Usage
```js
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);
```