subfont
Command line tool that subsets web fonts to the characters a page uses, then injects the subsets and preload hints into the page.
subfont is a command line tool that a developer runs on HTML pages to produce font subsets and the markup that loads them. The package is installed globally with npm and runs on Node.js. The project has no site of its own: its README is the documentation, and the copyright line in its license names Peter Brandt Müller.
Worth knowing
The tool runs on the developer’s machine or in a build step, so the site a visitor receives holds the subsets, not the tool. The README adds that subfont is meant for the files a site deploys to static file hosting, and that characters the page does not show can be added to the subsets by hand.
Identity
- Status
- Active
- Maintainer
- Peter Brandt Müller3
- Maintained by
- Individual
- First release
- 20175
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/Munter/subfont - 2026-10-28: links, Categories, Install with, Runs as, License model
github.com/Munter/subfont/blob/master/README.md - 2026-10-28: Maintainer
github.com/Munter/subfont/blob/master/LICENSE.md - 2026-10-28: Runtime, Minimum runtime
github.com/Munter/subfont/blob/v7.3.0/package.json - 2026-10-28: First release, Last release
registry.npmjs.org/subfont - 2026-10-28: Current major version
registry.npmjs.org/subfont/latest - 2026-10-28: Contributors
api.github.com/repos/Munter/subfont/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/subfont - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subfont