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

fontsource-forum

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fontsource-forum - npm Package Compare versions

Comparing version 2.2.6 to 3.0.0

400-normal.css

11

package.json
{
"name": "fontsource-forum",
"version": "2.2.6",
"version": "3.0.0",
"description": "Forum font in NPM glory.",

@@ -16,4 +16,9 @@ "main": "index.css",

"license": "MIT",
"repository": "https://github.com/DecliningLotus/fontsource/tree/master/packages/forum",
"gitHead": "f3db83684bdc9431fed1743b82e7b400f840fcf3"
"homepage": "https://github.com/fontsource/fontsource/tree/master/packages/forum#readme",
"repository": {
"type": "git",
"url": "https://github.com/fontsource/fontsource.git",
"directory": "packages/forum"
},
"gitHead": "d799a1dfa4d14a4b76124d7f9f7d8d8bd0acd5a7"
}
# Fontsource Forum
[![npm version](https://badge.fury.io/js/fontsource-forum.svg)](https://www.npmjs.com/package/fontsource-forum) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/DecliningLotus/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/fontsource-forum)](https://github.com/DecliningLotus/fontsource) [![Total downloads](https://badgen.net/npm/dt/fontsource-forum)](https://github.com/DecliningLotus/fontsource) [![GitHub stars](https://img.shields.io/github/stars/DecliningLotus/fontsource.svg?style=social&label=Star)](https://GitHub.com/DecliningLotus/fontsource/stargazers/)
[![npm version](https://badge.fury.io/js/fontsource-forum.svg)](https://www.npmjs.com/package/fontsource-forum) [![Generic badge](https://img.shields.io/badge/fontsource-passing-brightgreen)](https://github.com/fontsource/fontsource) [![Monthly downloads](https://badgen.net/npm/dm/fontsource-forum)](https://github.com/fontsource/fontsource) [![Total downloads](https://badgen.net/npm/dt/fontsource-forum)](https://github.com/fontsource/fontsource) [![GitHub stars](https://img.shields.io/github/stars/DecliningLotus/fontsource.svg?style=social&label=Star)](https://github.com/fontsource/fontsource/stargazers)
The CSS and web font files to easily self-host the “Forum” font. Please visit the main [Fontsource monorepo](https://github.com/DecliningLotus/fontsource) to view more details on this package.
The CSS and web font files to easily self-host the “Forum” font. Please visit the main [Fontsource monorepo](https://github.com/fontsource/fontsource) to view more details on this package.

@@ -18,11 +18,10 @@ ## Installation

```javascript
import "fontsource-forum" // require("fontsource-forum")
import "fontsource-forum" // Defaults to weight 400 with all styles included.
```
Fontsource allows you to select font subsets, weights and even individual styles, allowing you to cut down on payload sizes to the last byte! The default selection above, however, sticks to the Latin subset including all weights and styles.
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.
```javascript
import "fontsource-forum/latin-ext.css" // All weights and styles included.
import "fontsource-forum/cyrillic-ext-400.css" // All styles included.
import "fontsource-forum/greek-700-normal.css" // Select either normal or italic.
import "fontsource-forum/500.css" // All styles included.
import "fontsource-forum/900-normal.css" // Select either normal or italic.
```

@@ -34,3 +33,3 @@

@import "~fontsource-forum/index.css";
@import "~fontsource-forum/vietnamese-300-italic.css";
@import "~fontsource-forum/300-italic.css";
```

@@ -42,3 +41,2 @@

- Subsets: `[cyrillic,cyrillic-ext,latin,latin-ext]`
- Weights: `[400]`

@@ -55,2 +53,14 @@ - Styles: `[normal]`

## 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.
```javascript
import "fontsource-forum/latin-ext.css" // All weights and styles included.
import "fontsource-forum/cyrillic-ext-500.css" // All styles included.
import "fontsource-forum/greek-900-normal.css" // Select either normal or italic.
```
- Supported subsets: `[cyrillic,cyrillic-ext,latin,latin-ext]`
## Licensing

@@ -67,2 +77,2 @@

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](https://github.com/DecliningLotus/fontsource/issues).
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](https://github.com/fontsource/fontsource/issues).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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