Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@fontsource-utils/cli
Advanced tools
Readme
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.
npm install @fontsource-utils/cli
fontsource create
Builds a new fontsource package from a template for submission.
npx fontsource create
fontsource create-verify
Verifies that a fontsource package is valid and ready for submission.
npx fontsource create-verify [options]
Option | Description | Default |
---|---|---|
-i, --id | Directory to verify package e.g. ./[id] | Prompts user instead |
--ci | Disables fancy prompts | false |
--cwd | Sets the current working directory | process.cwd() |
fontsource fetch
Fetches the latest metadata from Google Fonts.
npx fontsource fetch [key] [options]
GOOGLE_API_KEY
.Option | Description | Default |
---|---|---|
-f, --force | Force parse all metadata without cache | false |
fontsource build
Builds all Google Fonts packages from the metadata generated from fontsource fetch
.
npx fontsource build [...fonts] [options]
Option | Description | Default |
---|---|---|
-f, --force | Force rebuild all packages from scratch | false |
-t, --test | Generate a small number of packages for testing | false |
--ttf | Download TTF/OTF font files | false |
MIT
FAQs
Fontsource CLI
The npm package @fontsource-utils/cli receives a total of 176 weekly downloads. As such, @fontsource-utils/cli popularity was classified as not popular.
We found that @fontsource-utils/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.