{"id":20073519,"url":"https://github.com/ragingwind/got-google-fonts","last_synced_at":"2025-07-06T03:06:06.208Z","repository":{"id":57252583,"uuid":"58360908","full_name":"ragingwind/got-google-fonts","owner":"ragingwind","description":"Got Google web fonts by its names","archived":false,"fork":false,"pushed_at":"2017-06-28T09:35:51.000Z","size":9,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T08:08:05.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ragingwind.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-09T08:29:14.000Z","updated_at":"2019-12-15T12:13:30.000Z","dependencies_parsed_at":"2022-08-31T22:11:14.576Z","dependency_job_id":null,"html_url":"https://github.com/ragingwind/got-google-fonts","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ragingwind/got-google-fonts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Fgot-google-fonts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Fgot-google-fonts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Fgot-google-fonts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Fgot-google-fonts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragingwind","download_url":"https://codeload.github.com/ragingwind/got-google-fonts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragingwind%2Fgot-google-fonts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261627852,"owners_count":23186706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T14:46:38.413Z","updated_at":"2025-07-06T03:06:06.182Z","avatar_url":"https://github.com/ragingwind.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# got-google-fonts [![Build Status](https://travis-ci.org/ragingwind/got-google-fonts.svg?branch=master)](https://travis-ci.org/ragingwind/got-google-fonts)\n\n\u003e Got Google web fonts by its names\n\n\n## Install\n\n```\n$ npm install --save got-google-fonts\n```\n\n\n## Usage\n\n```js\nconst googleFontDownload = require('got-google-fonts');\n\ngoogleFontDownload(process.cwd(), 'Roboto', {\n\tsubset: 'greek'\n\tvariant: 'italic'\n}).then(files =\u003e {\n\tconsole.log('Will returns those of files downloaded at dest', files);\n});\n\n```\n\n## API\n\n### googleFontDownload(dest, family, [options])\n\n#### dest\n\nThe path to download\n\n#### family\n\nThe name of the family\n\n#### options\n\nYou can use all of options about [Google web fonts APIs](https://developers.google.com/fonts/docs/developer_api#a_quick_example) except `kind` which is not alterable, default is `webfonts#webfont`. It will be passed into querystring.\n\n##### subset\n\nThe script supported by the family.\n\n##### variant\n\nThe style available for the family\n\n##### version\n\nThe font family version. ex) v3\n\n##### lastModified\n\nThe date (format \"yyyy-MM-dd\") the font family was modified for the last time.\n\n##### files\n\nJSON of the font family files for each one of the available variants.\n\n## License\n\nMIT © [Jimmy Moon](http://ragingwind.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragingwind%2Fgot-google-fonts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragingwind%2Fgot-google-fonts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragingwind%2Fgot-google-fonts/lists"}