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

font-m3-cli

v0.1.3

Published

Search, download, and generate code for Google Fonts — Android Jetpack Compose, Material 3, and web

Downloads

328

Readme

font-m3-cli

Search, download, and generate code for Google Fonts — for Android Jetpack Compose, Material 3, and web.

No API key required (uses public Google Fonts endpoints).

Install

npx api2cli install font-m3-cli

Quick Start

# Init skill in current project
font-m3-cli init

# List fonts
font-m3-cli fonts list
font-m3-cli fonts list --search inter --limit 5
font-m3-cli fonts list --category "Sans Serif" --sort trending

# Get font details
font-m3-cli fonts info Roboto

# Download font files
font-m3-cli fonts download Inter --weights 400,700
font-m3-cli fonts download "Source Code Pro" --outdir ./my-fonts

# Generate Jetpack Compose code
font-m3-cli fonts compose Inter --weights 400,700 -p com.myapp -o Typography.kt

# Generate CSS
font-m3-cli fonts css "Playfair Display"

# Initialize a Material 3 theme
font-m3-cli theme init --display "Playfair Display" --body Inter --output ./app/theme

# List categories
font-m3-cli fonts categories

Features

  • Search — 1,900+ Google Fonts with search, category filter, sort, and unlimited results (--limit 0)
  • Download — Download .ttf files by weight
  • Compose — Generate Kotlin FontFamily + Material 3 Typography code
  • CSS — Generate @font-face declarations with CDN URLs
  • Theme — Scaffold a complete M3 theme: Font.kt, Type.kt, Theme.kt, Color.kt
  • Preview — Open font specimen page in the browser
  • No API key required — works with public Google Fonts endpoints

Resources

Run font-m3-cli --help to see all commands.

Global Flags

All commands support: --json, --format <text|json|csv|yaml>, --verbose, --no-color, --no-header