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

@extoci/fonts

v0.1.0

Published

A small CLI for installing Google Fonts on your machine.

Readme

font

a tiny google fonts cli for installing fonts on your machine.

this exists because google fonts should be installable from the terminal without api keys, browser clicking, or downloading a zip like it is 2012.

usage

install globally:

npm install -g @extoci/font

then:

font add inter

to launch the interactive installer:

font add

it uses google-webfonts-helper, so you do not need a google api key.

requirements

  • node 20+ for the published cli
  • bun if you are developing locally
  • internet access, obviously
  • on linux, fc-cache is nice to have but not required

what it does

font add installs font files into your user font directory:

  • macos: ~/Library/Fonts
  • linux: ~/.local/share/fonts (or $XDG_DATA_HOME/fonts)
  • windows: %LOCALAPPDATA%\Microsoft\Windows\Fonts

installed fonts are tracked in a small manifest so font list, font remove, and font update know what this cli put there.

commands

interactive mode:

font add

scriptable commands:

font add inter
font add inter -v regular,700
font download "Source Sans 3" --dest ./fonts --woff2
font find inter
font find --all
font list
font update
font remove inter

useful flags

  • -v, --variants regular,700 – install or download specific variants
  • -d, --dest ./fonts – save font files somewhere instead of installing them
  • --woff2 – download woff2 files instead of ttf
  • --refresh – refresh the cached google fonts catalog
  • --all – print the whole catalog with font find
  • --limit 10 – limit font find output
  • --select – pick one narrowed font find result interactively
  • -y, --yes – skip prompts where possible

quick examples

install inter regular and bold:

font add inter -v regular,700

search google fonts:

font find mono

print every font in the catalog:

font find --all

download web fonts into your project:

font download inter --dest ./public/fonts --woff2

remove fonts installed by this cli:

font remove inter

development

run with bun:

bun run dev

build:

bun run build

test:

bun run test

troubleshooting

  • font add worked but the font is not showing up restart the app you are trying to use the font in. some apps cache the font list.

  • linux font list did not refresh install fontconfig so fc-cache is available, then run fc-cache -f.

  • search feels stale run with --refresh to redownload the google fonts catalog.

  • windows install is weird windows font installation is windows font installation. this cli installs into the current user's font directory and registers the font for that user.

notes

this is bun-first for development, but the published binary is a bundled node cli so npm install -g @extoci/font works normally.

acknowledgements

uses google-webfonts-helper for the font catalog and file urls. built by exotic with codex.