feat: add unirate module (@unirate/nuxt)#1515
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new file Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Adds
@unirate/nuxtto the modules listing.@unirate/nuxtis a Nuxt 3/4 module for the UniRate currency-exchange API:Server proxy that keeps your API key server-side — the browser only ever talks to your own app, even during SSR hydration; the proxy forwards an allow-listed set of paths.
useUniRate()(universal) +useCurrency()(Accept-Language detection) composables, plus auseUniRateClient()server util.<Currency>/<Rate>Intl-formatting components.Zero runtime dependencies (
@nuxt/kitis a peer); published to npm with provenance attestation; CI green on Nuxt 3 + 4 / Node 20 + 22.npm: https://www.npmjs.com/package/@unirate/nuxt
repo: https://github.com/UniRate-API/nuxt-unirate
Disclosure: I maintain this module and am affiliated with UniRate.