JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 896
  • Score
    100M100P100Q87221F
  • License MIT

Domain model, provider adapters, standings, and a read-only market-signal sidecar for Claudinho — the 2026 men's football tournament. Not affiliated with FIFA or Anthropic.

Package Exports

  • @claudinho/core

Readme

@claudinho/core ⚽

Shared domain model, data-provider adapters, a read-only market-signal sidecar, and helpers for Claudinho — the 2026 men's football tournament in your dev environment. This is the engine behind @claudinho/cli and @claudinho/mcp.

⚠️ Not affiliated with, endorsed by, or connected to FIFA or Anthropic. An independent, open-source fan project. Facts + emoji flags only.

Install

npm i @claudinho/core

What's inside

  • Domain modelMatch (incl. venue/city/country), Team, Stage, Status, PunditPick, LedgerRow
  • ProviderAdapter — the swappable data-vendor interface; EspnAdapter included
  • Static schedule — all 104 fixtures (groups, venues, host cities, kickoffs) bundled; query with allFixtures, fixturesByDate (groups by your timezone), fixturesByTeam, fixturesByGroup, nextFixtureForTeam, groups
  • Live overlaymakeAdapter, getMatchesForDate, getLiveMatches, mergeLive (static base + live state, with graceful degradation)
  • StandingscomputeStandings (points / GD / GF tiebreak)
  • Helpers — emoji flags (nationToFlag), TZ-aware time (formatKickoff, countdown, localDate), location strings (matchLocation), localized commentary flair (matchFlavor / FlavorLevel), validators (isValidDate, isValidTimeZone)
  • Prediction-market signals (sidecar) — read-only market odds kept separate from Match: the MarketSignal / MarketProvider model, the PolymarketProvider (public Gamma data only — no auth/trading/links; event slugs auto-derived per fixture, validation fails closed), a FakeMarketProvider, makeMarketProvider, getMarketSignal / getMarketSignals, the isReliableMarketSignal gate, and approved-copy formatters (marketFavoriteText, marketProbabilityText, marketBlock). Informational only — never betting advice.

Example

import { allFixtures, nextFixtureForTeam, formatKickoff } from '@claudinho/core';

const next = nextFixtureForTeam('MEX');
console.log(next?.home.flag, 'vs', next?.away.flag,
  formatKickoff(next!.kickoff, { tz: 'America/Mexico_City', locale: 'es' }));

License

MIT © 2026 Arturo Garrido · source & issues


Built while watching the games. #VibingLaVidaLoca