Gathering detailed insights and metrics for fontsource-bree-serif
Gathering detailed insights and metrics for fontsource-bree-serif
npm install fontsource-bree-serif
Typescript
Module System
Node Version
NPM Version
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! 🚀
Total Downloads
3,847
Last Day
1
Last Week
17
Last Month
42
Last Year
357
5,131 Stars
1,196 Commits
178 Forks
19 Watching
2 Branches
35 Contributors
Minified
Minified + Gzipped
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
Cumulative downloads
Total Downloads
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
No dependencies detected.
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.
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:
[400]
[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}
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.
[latin,latin-ext]
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
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
Reason
0 existing vulnerabilities detected
Reason
Found 0/25 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
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