openexchange-cached
TypeScript icon, indicating that this package has built-in type declarations

0.0.22 • Public • Published

openexchange-cached

Openexchange rates + redis cache

Usage

import { OpenExchangeCached } from "openexchange-cached"
import {RedisClient} from "redis"
const redisClient = new RedisClient({})
const OPEN_EXCHANGE_API_KEY = "xxx"

await OpenExchangeCached.loadRates({ apiKey: OPEN_EXCHANGE_API_KEY, redisClient }),

OpenExchangeCached.getRates()

Readme

Keywords

Package Sidebar

Install

npm i openexchange-cached

Weekly Downloads

1

Version

0.0.22

License

MIT

Unpacked Size

6.29 kB

Total Files

9

Last publish

Collaborators

  • arthur.karganyan