feat: add unirate module (@unirate/nuxt)#1515
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughA new Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
494ab64 to
e0ba183
Compare
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.