WebFont Loader
Enhanced control over loading linked @font-face fonts with event handling.
Styling and CSS npm Apache-2.0
Used in agent projects
28
0.2% of 12,697 public repos built with AI coding agents
Rank in styling and css
#13 of 15
by use in those projects
Downloads
1.1M
npm, last 7 days, webfontloader
GitHub stars
9,245
last push Jan 4, 2024
How WebFont Loader is used
WebFont Loader is a dependency in 28 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #13 of 15 in styling and css. The most used alternative there is Tailwind CSS. Projects that use it most often also use webpack (71.4%), Phaser (60.7%), html-webpack-plugin (50.0%).
Often used with WebFont Loader
| webpack | 71.4% of WebFont Loader projects · 35.6× more than average |
|---|---|
| Phaser | 60.7% of WebFont Loader projects · 14.9× more than average |
| html-webpack-plugin | 50.0% of WebFont Loader projects · 46.7× more than average |
| Babel Loader | 46.4% of WebFont Loader projects · 40.9× more than average |
| expose-loader | 46.4% of WebFont Loader projects · 210.5× more than average |
| Copy Webpack Plugin | 39.3% of WebFont Loader projects · 46.2× more than average |
| file-loader | 35.7% of WebFont Loader projects · 55.3× more than average |
| webpack CLI | 32.1% of WebFont Loader projects · 20.3× more than average |
Install
| Package | npm install webfontloader |
|---|---|
| Main stacks | TypeScript / JavaScript (26), PHP (1), Next.js (1) |
| Example projects | huszy/badgun, JesusFilm/core, ourcade/phaser3-typescript-examples, loomnetwork/phaser-sdk-demo, RNtaate/Endless-Runner |
Alternatives to WebFont Loader
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Tailwind CSS npm Utility-first CSS framework for building custom user interfaces rapidly. |
4,410 (34.7%) | 134M | 97.9K | MIT |
| Tailwind Merge npm Merge Tailwind CSS classes intelligently without style conflicts. |
2,136 (16.8%) | 85.8M | 5,695 | MIT |
| Emotion npm CSS-in-JS library for styling React components with scoped styles and theming. |
332 (2.6%) | 20.2M | 18K | MIT |
| Sass npm CSS preprocessor adding variables, nesting and mixins to stylesheets. |
233 (1.8%) | 30.9M | 4,230 | MIT |
| styled-components npm CSS-in-JS library for styling React components with dynamic scoped styles. |
154 (1.2%) | 10.8M | 41.1K | MIT |
| react-responsive npm React library for implementing responsive design with CSS media queries. |
54 (0.4%) | 1.4M | 7,182 | MIT |
| tailwind-variants npm Compose Tailwind CSS classes conditionally with a variant-first composition API. |
53 (0.4%) | 4.3M | 3,318 | MIT |
| postcss-import npm PostCSS plugin to inline @import rules before other transformations. |
46 (0.4%) | 41M | 1,409 | MIT |