Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fontsource-utils/cli

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fontsource-utils/cli

Fontsource CLI

  • 0.3.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-25%
Maintainers
2
Weekly downloads
 
Created
Source

Fontsource CLI

The Fontsource CLI allows users to build fontsource packages locally as well as create new packages for submissions. For metadata, it uses Google Font Metadata.

Getting Started

npm install @fontsource-utils/cli

Commands

fontsource create

Builds a new fontsource package from a template for submission.

Usage

npx fontsource create

fontsource create-verify

Verifies that a fontsource package is valid and ready for submission.

Usage

npx fontsource create-verify [options]

Options

OptionDescriptionDefault
-i, --idDirectory to verify package e.g. ./[id]Prompts user instead
--ciDisables fancy promptsfalse
--cwdSets the current working directoryprocess.cwd()

fontsource fetch

Fetches the latest metadata from Google Fonts.

Usage

npx fontsource fetch [key] [options]
  • Key is the Google Fonts API key. If not provided, it will be read from the environment variable GOOGLE_API_KEY.

Options

OptionDescriptionDefault
-f, --forceForce parse all metadata without cachefalse

fontsource build

Builds all Google Fonts packages from the metadata generated from fontsource fetch.

Usage

npx fontsource build [...fonts] [options]

Options

OptionDescriptionDefault
-f, --forceForce rebuild all packages from scratchfalse
-t, --testGenerate a small number of packages for testingfalse

License

MIT

Keywords

FAQs

Package last updated on 21 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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