Repository navigation
Eleventy plugin for UniRate currency exchange rates.
- Build-time snapshot fetched once via
/api/ratesand cached for the build. currency,rate,convertshortcodes and filters.unirateglobal data exposes the full snapshot to templates.- Cross-pair rates derived from a single-base snapshot (no extra fetches).
- Zero runtime dependencies; uses native
fetch(Node 18+). - 40 mock tests; published to npm with provenance attestation.
Install: npm install @unirate/eleventy
npm: https://www.npmjs.com/package/@unirate/eleventy