google-fonts-complete

A complete list of Google Fonts and their sources

CC0-1.0 11 个版本
安装
npm install google-fonts-complete
yarn add google-fonts-complete
pnpm add google-fonts-complete
bun add google-fonts-complete
README

Google Fonts Complete

A complete list of Google Fonts and their sources.

Usage

var fonts = require('google-fonts-complete');

console.dir(fonts);

yields

{
    "ABeeZee": {
        "category": "sans-serif",
        "lastModified": "2015-04-06",
        "version": "v4",
        "variants": {
            ...
        }
    },
    ...
}

This list is generated from the Google Fonts API.

Using the generator

Create the api-response.json using a script:

npm run generateList {YOUR_API_KEY}

Or use the Google Fonts API to create api-response.json manually.

Then, use the generator to create google-fonts.json.

npm run generateFonts

or

node ./google-fonts-generator.js
版本列表
2.2.3 2023-10-26
2.1.1 2020-10-03
2.1.0 2019-11-13
2.0.0 2019-11-07
1.2.3 2019-06-13
1.2.2 2018-06-05
1.2.1 2018-01-29
1.2.0 2017-09-17
1.1.1 2017-03-04
1.1.0 2016-12-11
1.0.0 2015-07-24