google-fonts-css2
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "google-fonts-css2", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A helper package to interact with google fonts API.", |
# Google Fonts CSS2 | ||
This package is supposed to be an agnostic and fast helper package to interact with Google Gonts API version 2. | ||
This package is supposed to be an agnostic and fast helper package to interact with Google Fonts API version 2. | ||
**`React Component`: [https://github.com/adriano-tirloni/react-google-fonts-css2](https://github.com/adriano-tirloni/react-google-fonts-css2)** | ||
### URL Builder: | ||
@@ -11,6 +14,8 @@ | ||
**`assembleCommon`**: This function works as described below, and will request fonts with styles varying on **weight** and being **italic**. It was developed to fast, not to include all possible scenarios. For that there is the `assembleFull` function. | ||
**`assembleFull`**: [not developed] - This function will take a different structure from assembleCommon to be able to render the full spec of Google Font API axis: | ||
1) **`assembleCommon`**: This function works as described below, and will request fonts with styles varying on **weight** and being **italic**. It was developed to be fast and not to include all possible scenarios. For the full flexible API there is the `assembleFull` function. | ||
2) **`assembleFull`**: **not developed** - This function will take a different structure from assembleCommon to be able to render the full spec of Google Font API axis: | ||
- Italic - `ital` | ||
@@ -17,0 +22,0 @@ - Optical Size - `opsz` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14172
85