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

brewfyi

v0.1.0

Published

TypeScript API client for BrewFYI -- coffee varieties, brew methods, roasting, and processing. Zero dependencies.

Downloads

84

Readme

brewfyi

npm TypeScript License: MIT Zero Dependencies

TypeScript API client for BrewFYI -- the complete coffee reference with 72 coffee varieties, 21 brew methods, 20 origin countries, and 120 expert guides covering Arabica genetics, processing methods, SCA cupping protocols, and roast profiling. Zero dependencies, uses native fetch.

Explore coffee at brewfyi.com -- Varieties | Brew Methods | Origins | API Docs

Table of Contents

Install

npm install brewfyi

Works in Node.js, Deno, Bun, and browsers (ESM).

Quick Start

import { BrewFYI } from "brewfyi";

const api = new BrewFYI();

// Search varieties, brew methods, origins, glossary
const results = await api.search("espresso");

// Get coffee variety detail
const gesha = await api.variety("gesha");
console.log(gesha.flavor_profile); // ["jasmine", "bergamot", "peach"]

// Get brew method parameters
const v60 = await api.method("v60");
console.log(v60.brew_time, v60.grind_size);

// Compare two varieties
const comparison = await api.compare("gesha", "bourbon");

What You Can Do

Coffee Species and Varieties

All commercial coffee comes from two primary species: Coffea arabica (60-70% of world production) and Coffea canephora (Robusta, 30-40%). BrewFYI catalogs 72 distinct varieties with genetic lineage, flavor profiles, and growing requirements.

| Category | Notable Varieties | Characteristics | |----------|------------------|-----------------| | Ethiopian Heirlooms | Gesha, Yirgacheffe Landrace | Floral, jasmine, bergamot | | Bourbon Lineage | Bourbon, Caturra, Catuai | Sweet, balanced, caramel | | Typica Lineage | Typica, Blue Mountain, Kona | Clean, sweet, mild body | | Hybrid/Modern | Castillo, Catimor | Disease resistant | | Robusta | Robusta, Conilon | High caffeine, earthy |

Processing Methods

Post-harvest processing dramatically affects flavor. The same cherry processed differently produces entirely different cup profiles:

| Method | Flavor Impact | |--------|---------------| | Washed | Clean, bright acidity, clarity | | Natural | Fruity, wine-like, heavy body | | Honey | Sweet, balanced, complex | | Anaerobic | Intense, unique fermentation |

Brew Methods

21 brewing methods with optimal parameters for water temperature, grind size, brew ratio, and extraction time:

| Method | Type | Brew Time | Best For | |--------|------|-----------|----------| | Espresso | Pressure (9 bar) | 25-30s | Concentrated, crema | | Pour Over (V60) | Drip | 2:30-3:30 | Clarity, origin character | | French Press | Immersion | 4:00 | Full body, oils | | Cold Brew | Cold immersion | 12-24h | Smooth, low acidity |

Roast Levels

| Level | Internal Temp | Characteristics | |-------|--------------|-----------------| | Light | 180-205C | Bright acidity, floral, fruity | | Medium | 220-230C | Balanced body, chocolate, nuts | | Dark | 240C+ | Smoky, bitter, minimal origin character |

API Reference

| Method | Description | |--------|-------------| | search(query) | Search varieties, methods, origins, glossary | | glossaryTerm(slug) | Get glossary term definition | | variety(slug) | Coffee variety detail with genetics, flavor | | method(slug) | Brew method detail with parameters | | processing(slug) | Processing method detail | | roast(slug) | Roast level detail | | country(slug) | Origin country detail | | compare(slugA, slugB) | Compare varieties or methods | | random() | Random coffee variety |

TypeScript Types

import type { SearchResult, GlossaryTerm, VarietyDetail, MethodDetail, ProcessingDetail, RoastDetail, CountryDetail, CompareResult, RandomResult } from "brewfyi";

Learn More About Coffee

Also Available for Python

pip install brewfyi

See the Python package on PyPI.

Beverage FYI Family

Part of the FYIPedia open-source developer tools ecosystem -- world beverages from cocktails to sake.

| Package | PyPI | npm | Description | |---------|------|-----|-------------| | cocktailfyi | PyPI | npm | 636 cocktails, ABV, calories -- cocktailfyi.com | | vinofyi | PyPI | npm | Wines, grapes, regions, food pairings -- vinofyi.com | | beerfyi | PyPI | npm | 112 beer styles, hops, malts -- beerfyi.com | | brewfyi | PyPI | npm | 72 coffee varieties, brew methods -- brewfyi.com | | whiskeyfyi | PyPI | npm | 80 whiskey expressions, distilleries -- whiskeyfyi.com | | teafyi | PyPI | npm | 60 tea varieties, teaware -- teafyi.com | | nihonshufyi | PyPI | npm | 80 sake, rice varieties -- nihonshufyi.com |

License

MIT