New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

brewfyi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brewfyi

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

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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.

CategoryNotable VarietiesCharacteristics
Ethiopian HeirloomsGesha, Yirgacheffe LandraceFloral, jasmine, bergamot
Bourbon LineageBourbon, Caturra, CatuaiSweet, balanced, caramel
Typica LineageTypica, Blue Mountain, KonaClean, sweet, mild body
Hybrid/ModernCastillo, CatimorDisease resistant
RobustaRobusta, ConilonHigh caffeine, earthy

Processing Methods

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

MethodFlavor Impact
WashedClean, bright acidity, clarity
NaturalFruity, wine-like, heavy body
HoneySweet, balanced, complex
AnaerobicIntense, unique fermentation

Brew Methods

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

MethodTypeBrew TimeBest For
EspressoPressure (9 bar)25-30sConcentrated, crema
Pour Over (V60)Drip2:30-3:30Clarity, origin character
French PressImmersion4:00Full body, oils
Cold BrewCold immersion12-24hSmooth, low acidity

Roast Levels

LevelInternal TempCharacteristics
Light180-205CBright acidity, floral, fruity
Medium220-230CBalanced body, chocolate, nuts
Dark240C+Smoky, bitter, minimal origin character

API Reference

MethodDescription
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.

PackagePyPInpmDescription
cocktailfyiPyPInpm636 cocktails, ABV, calories -- cocktailfyi.com
vinofyiPyPInpmWines, grapes, regions, food pairings -- vinofyi.com
beerfyiPyPInpm112 beer styles, hops, malts -- beerfyi.com
brewfyiPyPInpm72 coffee varieties, brew methods -- brewfyi.com
whiskeyfyiPyPInpm80 whiskey expressions, distilleries -- whiskeyfyi.com
teafyiPyPInpm60 tea varieties, teaware -- teafyi.com
nihonshufyiPyPInpm80 sake, rice varieties -- nihonshufyi.com

License

MIT

Keywords

coffee

FAQs

Package last updated on 06 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts