Socket
Socket
Sign inDemoInstall

google-fonts-css2

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-fonts-css2 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"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`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc