Installations
npm install fontsource-bree-serif
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.18.3
NPM Version
lerna/3.22.1/node@v12.18.3+x64 (linux)
Releases
Unable to fetch releases
Contributors
Languages
TypeScript (83.35%)
MDX (10.37%)
CSS (5.03%)
SCSS (0.92%)
JavaScript (0.3%)
Dockerfile (0.03%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
3,847
Last Day
1
Last Week
17
Last Month
42
Last Year
357
GitHub Statistics
5,131 Stars
1,196 Commits
178 Forks
19 Watching
2 Branches
35 Contributors
Bundle Size
688.00 B
Minified
293.00 B
Minified + Gzipped
Package Meta Information
Latest Version
4.0.0
Package Id
fontsource-bree-serif@4.0.0
Unpacked Size
83.23 kB
Size
73.35 kB
File Count
16
NPM Version
lerna/3.22.1/node@v12.18.3+x64 (linux)
Node Version
12.18.3
Total Downloads
Cumulative downloads
Total Downloads
3,847
Last day
0%
1
Compared to previous day
Last week
-22.7%
17
Compared to previous week
Last month
1,300%
42
Compared to previous month
Last year
-26.5%
357
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
Fontsource Bree Serif
The CSS and web font files to easily self-host the “Bree Serif” font. Please visit the main Fontsource monorepo to view more details on this package.
Installation
Fontsource assumes you are using a bundler, such as Webpack, to load in CSS. Solutions like CRA, Gatsby and Next.js are prebuilt examples that are compatible.
1yarn add @fontsource/bree-serif // npm install @fontsource/bree-serif
Then within your app entry file or site component, import it in. For example in Gatsby, you could choose to import it into a layout template (layout.js
), page component (index.js
), or gatsby-browser.js
.
1import "@fontsource/bree-serif" // Defaults to weight 400.
Fontsource allows you to select weights and even individual styles, allowing you to cut down on payload sizes to the last byte! Utilizing the CSS unicode-range selector, all language subsets are accounted for.
1import "@fontsource/bree-serif/500.css" // Weight 500. 2import "@fontsource/bree-serif/900-italic.css" // Italic variant.
Alternatively, the same solutions could be imported via SCSS!
1@import "~@fontsource/bree-serif/index.css"; // Weight 400. 2@import "~@fontsource/bree-serif/300-italic.css";
These examples may not reflect actual compatibility. Please refer below.
Supported variables:
- Weights:
[400]
- Styles:
[normal]
Finally, you can reference the font name in a CSS stylesheet, CSS Module, or CSS-in-JS.
1body { 2 font-family: "Bree Serif"; 3}
Additional Options
In the rare case you need to individually select a language subset and not utilize the CSS unicode-range selector, you may specify the import as follows. This is especially not recommended for languages, such as Japanese, with a large amount of characters.
1import "@fontsource/bree-serif/latin-ext.css" // All weights with normal style included. 2import "@fontsource/bree-serif/cyrillic-ext-500.css" // Weight 500 with normal style. 3import "@fontsource/bree-serif/greek-900-normal.css" // Italic variant.
- Supported subsets:
[latin,latin-ext]
Licensing
It is important to always read the license for every font that you use. Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.
Google Fonts License Attributions
Other Notes
Font version (provided by source): v10
.
Feel free to star and contribute new ideas to this repository that aim to improve the performance of font loading, as well as expanding the existing library we already have. Any suggestions or ideas can be voiced via an issue.
No vulnerabilities found.
Reason
25 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
Found 0/25 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/download-vm.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-api.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Warn: no topLevel permission defined: .github/workflows/tests-api.yml:1
- Warn: no topLevel permission defined: .github/workflows/tests.yml:1
- Warn: no topLevel permission defined: .github/workflows/website.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/download-vm.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/download-vm.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/download-vm.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/download-vm.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/download-vm.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/download-vm.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-api.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release-api.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-api.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release-api.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-api.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release-api.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-api.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests-api.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-api.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests-api.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-api.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests-api.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests-api.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests-api.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests-api.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/tests.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/website.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/website.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/fontsource/fontsource/website.yml/main?enable=pin
- Warn: containerImage not pinned by hash: api/download/Dockerfile:1
- Info: 0 out of 9 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 13 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 containerImage dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 20 are checked with a SAST tool
Score
4.8
/10
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More