npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nerd-fonts-woff2

v1.0.5

Published

CLI pipeline for converting Nerd Fonts (and other fonts) from TTF/OTF to WOFF2 assets.

Readme

nerd-fonts-woff2

npm license. npm total downloads. latest GitHub release. GitHub stars. GitHub forks. GitHub open issues. codecov.

Ready-to-use Nerd Fonts in WOFF2 format — use them in any website or app via CDN link, or install them through npm.

No build step needed. No tools to install. Just copy a URL.

Fonts are generated from Nerd Fonts v3.4.0 and committed directly to this repository so they can be served from a stable CDN URL.


Quick start — add a font to your website

Pick any font from the available families below and add a @font-face rule to your CSS.

jsDelivr CDN (recommended — global CDN, fast, always available)

@font-face {
  font-family: "JetBrains Mono Nerd";
  src: url("https://cdn.jsdelivr.net/gh/Nick2bad4u/[email protected]/fonts/woff2/JetBrainsMono/JetBrainsMonoNerdFont-Regular.woff2")
    format("woff2");
  font-display: swap;
}

Then use it in your CSS:

body {
  font-family: "JetBrains Mono Nerd", monospace;
}

Raw GitHub URL

@font-face {
  font-family: "JetBrains Mono Nerd";
  src: url("https://raw.githubusercontent.com/Nick2bad4u/nerd-fonts-woff2/v1.0.0/fonts/woff2/JetBrainsMono/JetBrainsMonoNerdFont-Regular.woff2")
    format("woff2");
  font-display: swap;
}

Tip: Always pin a version tag (v1.0.0) rather than using main so your fonts never change unexpectedly.


URL pattern

All font files follow this pattern:

https://cdn.jsdelivr.net/gh/Nick2bad4u/nerd-fonts-woff2@<version>/fonts/woff2/<Family>/<FileName>.woff2

| Part | Example | | ------------ | ------------------------------- | | <version> | v1.0.0 | | <Family> | JetBrainsMono | | <FileName> | JetBrainsMonoNerdFont-Regular |

Find available files by browsing the fonts/woff2/ folder in this repository, or see the full asset index.

You can also browse a searchable index page on GitHub Pages: /index.html


Install via npm

The npm package ships the CLI conversion tool only — font files are not bundled. To use fonts in a website or app, use the CDN URLs above (no install needed).

npm install nerd-fonts-woff2
# or globally
npm install -g nerd-fonts-woff2

Package size: ~86 KB unpacked (just the CLI binary + compiled JS).

The fonts themselves are served from CDN (jsDelivr, unpkg, Raw GitHub, etc.). Bundling 7 GB of binary font files into npm would be impractical — use a CDN URL instead.


CLI usage

The CLI converts local TTF/OTF font files into WOFF2 format.

Usage

npx nerd-fonts-woff2 --source-dir <path> [options]
# or if installed globally:
nerd-fonts-woff2 --source-dir <path> [options]

Core options

| Flag | Description | | ------------------------------- | ------------------------------------------------------------ | | --source-dir <path[,path...]> | Source directory containing .ttf/.otf files (repeatable) | | --manifest <file> | JSON config file (optional alternative to CLI flags) | | --out-dir <path> | Output directory for generated .woff2 files | | --temp-dir <path> | Temporary working directory | | --include-ext <ttf,otf> | Input extensions to process (default: ttf,otf) | | --max-files <n> | Limit number of files to process |

Conversion options

| Flag | Description | | ------------------------- | ------------------------------------------------------ | | --convert | Run conversion pipeline (default mode is plan/dry-run) | | --dry-run | Plan only — do not call the external converter | | --confirm, --yes | Required safety gate for non-dry-run conversion | | --converter <cmd> | Converter executable (default: woff2_compress) | | --converter-arg <value> | Extra converter arguments (repeatable) | | --fail-fast | Stop on first conversion failure | | --concurrency <n> | Number of concurrent conversions (default: 1) | | --timeout <ms> | Per-file converter timeout in ms (default: 60000) |

Output options

| Flag | Description | | --------------------- | -------------------------------------------------------- | | --index-file <path> | Write asset index JSON (default: <out-dir>/index.json) | | --verbose | Print planned files and failures | | --debug | Enable debug output (implies --verbose) | | --json | Emit machine-readable summary to stdout | | --help | Show help |

Examples

# Dry run — plan only, no files written (safe default)
npx nerd-fonts-woff2 --source-dir ./fonts/original --dry-run

# Convert with explicit safety confirmation
npx nerd-fonts-woff2 --source-dir ./fonts/original --convert --confirm

# Faster — 4 concurrent workers, 2 min timeout per file
npx nerd-fonts-woff2 --source-dir ./fonts/original --convert --confirm --concurrency 4 --timeout 120000

# Machine-readable JSON output + explicit index file path
npx nerd-fonts-woff2 --source-dir ./fonts/original --convert --confirm --json --index-file ./fonts/woff2/index.json

# Use a manifest config file instead of flags
npx nerd-fonts-woff2 --manifest ./nerd-fonts-woff2.config.json --convert --confirm --json

# Convert multiple source directories
npx nerd-fonts-woff2 --source-dir ./fonts/originals,./fonts/extras --convert --confirm

Available font families

All families from Nerd Fonts v3.4.0 are included.

Browse the full list in the fonts/woff2/ directory, or search the interactive browser.

Popular families by reserved font name (see Reserved Font Name mechanism).

For example, the Monaspice Nerd Font family is available as Monaspace in the URL path and file names:

Font Name vs Reserved Font Name

| Family | Preview Font | Folder | | ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------------- | | 3270 | Preview Font | 3270 | | Agave | Preview Font | Agave | | AnonymousPro | Preview Font | AnonymousPro | | Arimo | Preview Font | Arimo | | AurulentSansMono | Preview Font | AurulentSansMono | | BigBlueTerminal | Preview Font | BigBlueTerminal | | BitstreamVeraSansMono | Preview Font | BitstreamVeraSansMono | | CascadiaCode | Preview Font | CascadiaCode | | CodeNewRoman | Preview Font | CodeNewRoman | | ComicShannsMono | Preview Font | ComicShannsMono | | Cousine | Preview Font | Cousine | | DaddyTimeMono | Preview Font | DaddyTimeMono | | DejaVuSansMono | Preview Font | DejaVuSansMono | | DroidSansMono | Preview Font | DroidSansMono | | EnvyCodeR | Preview Font | EnvyCodeR | | FantasqueSansMono | Preview Font | FantasqueSansMono | | FiraCode | Preview Font | FiraCode | | FiraMono | Preview Font | FiraMono | | Go-Mono | Preview Font | Go-Mono | | Gohu | Preview Font | Gohu | | Hack | Preview Font | Hack | | Hasklig | Preview Font | Hasklig | | HeavyData | Preview Font | HeavyData | | Hermit | Preview Font | Hermit | | iA-Writer | Preview Font | iA-Writer | | IBMPlexMono | Preview Font | IBMPlexMono | | Inconsolata | Preview Font | Inconsolata | | InconsolataGo | Preview Font | InconsolataGo | | InconsolataLGC | Preview Font | InconsolataLGC | | Iosevka | Preview Font | Iosevka | | IosevkaTerm | Preview Font | IosevkaTerm | | JetBrainsMono | Preview Font | JetBrainsMono | | Lekton | Preview Font | Lekton | | LiberationMono | Preview Font | LiberationMono | | Lilex | Preview Font | Lilex | | Meslo | Preview Font | Meslo | | Monofur | Preview Font | Monofur | | Monoid | Preview Font | Monoid | | Mononoki | Preview Font | Mononoki | | MPlus | Preview Font | MPlus | | NerdFontsSymbolsOnly | Preview Font | NerdFontsSymbolsOnly | | Noto | Preview Font | Noto | | OpenDyslexic | Preview Font | OpenDyslexic | | Overpass | Preview Font | Overpass | | ProFont | Preview Font | ProFont | | ProggyClean | Preview Font | ProggyClean | | RobotoMono | Preview Font | RobotoMono | | ShareTechMono | Preview Font | ShareTechMono | | SourceCodePro | Preview Font | SourceCodePro | | SpaceMono | Preview Font | SpaceMono | | Terminus | Preview Font | Terminus | | Tinos | Preview Font | Tinos | | Ubuntu | Preview Font | Ubuntu | | UbuntuMono | Preview Font | UbuntuMono | | VictorMono | Preview Font | VictorMono |

What are Nerd Fonts?

Nerd Fonts patches developer-targeted fonts with a large number of glyphs (icons) from popular icon sets — including Devicons, Font Awesome, Material Design Icons, and plenty of others.

They are widely used in terminal emulators, code editors, and shell prompts (Starship, Oh-My-Zsh, Powerlevel10k, etc.).


Releases and versioning

Font assets are updated on each tagged release. Check the Releases page for the latest version and changelog.

Pin the version in your CDN URLs to avoid unexpected changes.


License

Fonts are distributed under their respective upstream licenses (see each family's source in Nerd Fonts). This project's tooling and scripts are licensed under the MIT License.


Links

Contributors ✨

All Contributors.

Thanks goes to these wonderful people (emoji key):