@allratestoday/cbe-exchange-rate 1.3.9 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +47 -47
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -42,46 +42,46 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
42
42
  The image is rendered live from the keyless endpoint above, so it follows the central bank's publications on npm and on GitHub alike without a new release. The text copy below is there for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
43
43
 
44
44
  <!-- daily-table:start -->
45
- Published **2026-10-12** by Central Bank of Egypt — 36 rates. Updated 2026-10-12.
45
+ Published **2026-10-14** by Central Bank of Egypt — 36 rates. Updated 2026-10-14.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | AED | EGP | buy | 14.3207 |
50
- | AED | EGP | sell | 14.3588 |
51
- | AUD | EGP | buy | 36.6473 |
52
- | AUD | EGP | sell | 36.7651 |
53
- | BHD | EGP | buy | 139.3227 |
54
- | BHD | EGP | sell | 139.7641 |
55
- | CAD | EGP | buy | 36.8718 |
56
- | CAD | EGP | sell | 36.9742 |
57
- | CHF | EGP | buy | 63.1241 |
58
- | CHF | EGP | sell | 63.3133 |
59
- | CNY | EGP | buy | 7.859 |
60
- | CNY | EGP | sell | 7.8805 |
61
- | DKK | EGP | buy | 7.866 |
62
- | DKK | EGP | sell | 7.8877 |
63
- | EUR | EGP | buy | 58.7925 |
64
- | EUR | EGP | sell | 58.958 |
65
- | GBP | EGP | buy | 69.5862 |
66
- | GBP | EGP | sell | 69.7856 |
67
- | JOD | EGP | buy | 74.0863 |
68
- | JOD | EGP | sell | 74.4915 |
69
- | JPY | EGP | buy | 0.331576 |
70
- | JPY | EGP | sell | 0.332514 |
71
- | KWD | EGP | buy | 170.6726 |
72
- | KWD | EGP | sell | 171.1782 |
73
- | NOK | EGP | buy | 5.4914 |
74
- | NOK | EGP | sell | 5.5063 |
75
- | OMR | EGP | buy | 136.609 |
76
- | OMR | EGP | sell | 136.987 |
77
- | QAR | EGP | buy | 14.4295 |
78
- | QAR | EGP | sell | 14.4691 |
79
- | SAR | EGP | buy | 14.0046 |
80
- | SAR | EGP | sell | 14.0423 |
81
- | SEK | EGP | buy | 5.2446 |
82
- | SEK | EGP | sell | 5.2588 |
83
- | USD | EGP | buy | 52.6013 |
84
- | USD | EGP | sell | 52.74 |
49
+ | AED | EGP | buy | 14.4418 |
50
+ | AED | EGP | sell | 14.4807 |
51
+ | AUD | EGP | buy | 37.161 |
52
+ | AUD | EGP | sell | 37.2644 |
53
+ | BHD | EGP | buy | 140.3963 |
54
+ | BHD | EGP | sell | 140.8787 |
55
+ | CAD | EGP | buy | 37.3165 |
56
+ | CAD | EGP | sell | 37.4177 |
57
+ | CHF | EGP | buy | 63.6068 |
58
+ | CHF | EGP | sell | 63.813 |
59
+ | CNY | EGP | buy | 7.9251 |
60
+ | CNY | EGP | sell | 7.9463 |
61
+ | DKK | EGP | buy | 7.9393 |
62
+ | DKK | EGP | sell | 7.9609 |
63
+ | EUR | EGP | buy | 59.3484 |
64
+ | EUR | EGP | sell | 59.5103 |
65
+ | GBP | EGP | buy | 70.3439 |
66
+ | GBP | EGP | sell | 70.5455 |
67
+ | JOD | EGP | buy | 74.7066 |
68
+ | JOD | EGP | sell | 75.1154 |
69
+ | JPY | EGP | buy | 0.334733 |
70
+ | JPY | EGP | sell | 0.335701 |
71
+ | KWD | EGP | buy | 172.1016 |
72
+ | KWD | EGP | sell | 172.6119 |
73
+ | NOK | EGP | buy | 5.5828 |
74
+ | NOK | EGP | sell | 5.6023 |
75
+ | OMR | EGP | buy | 137.76 |
76
+ | OMR | EGP | sell | 138.1415 |
77
+ | QAR | EGP | buy | 14.5503 |
78
+ | QAR | EGP | sell | 14.5903 |
79
+ | SAR | EGP | buy | 14.1264 |
80
+ | SAR | EGP | sell | 14.1652 |
81
+ | SEK | EGP | buy | 5.3179 |
82
+ | SEK | EGP | sell | 5.3363 |
83
+ | USD | EGP | buy | 53.0417 |
84
+ | USD | EGP | sell | 53.1817 |
85
85
 
86
86
  Source: [Official rates published by CBE, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbe/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
87
87
  <!-- daily-table:end -->
@@ -138,10 +138,10 @@ const pair = await getRate('USD', 'EGP', { apiKey: 'art_live_...' });
138
138
  {
139
139
  bank: 'cbe',
140
140
  name: 'Central Bank of Egypt',
141
- rate_date: '2026-10-12', // Central Bank of Egypt's own publication date
141
+ rate_date: '2026-10-14', // Central Bank of Egypt's own publication date
142
142
  source: 'USD',
143
143
  target: 'EGP',
144
- rate: 52.74,
144
+ rate: 53.1817,
145
145
  rate_type: 'sell',
146
146
  derived: false,
147
147
  method: 'published',
@@ -166,10 +166,10 @@ console.log(table.rate_date, table.rates.length);
166
166
  {
167
167
  bank: 'cbe',
168
168
  name: 'Central Bank of Egypt',
169
- rate_date: '2026-10-12',
169
+ rate_date: '2026-10-14',
170
170
  rates: [
171
- { "base": "USD", "quote": "EGP", "type": "sell", "value": 52.74 },
172
- { "base": "USD", "quote": "EGP", "type": "buy", "value": 52.6013 },
171
+ { "base": "USD", "quote": "EGP", "type": "sell", "value": 53.1817 },
172
+ { "base": "USD", "quote": "EGP", "type": "buy", "value": 53.0417 },
173
173
  // … the rest of the published table (18 currencies vs EGP)
174
174
  ],
175
175
  disclaimer: '…'
@@ -209,7 +209,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
209
209
  import { getHistory } from '@allratestoday/cbe-exchange-rate';
210
210
 
211
211
  const series = await getHistory(
212
- { source: 'USD', target: 'EGP', from: '2026-01-01', to: '2026-10-12' },
212
+ { source: 'USD', target: 'EGP', from: '2026-01-01', to: '2026-10-14' },
213
213
  { apiKey: 'art_live_...' }
214
214
  );
215
215
  ```
@@ -222,11 +222,11 @@ const series = await getHistory(
222
222
  source: 'USD',
223
223
  target: 'EGP',
224
224
  from: '2026-01-01',
225
- to: '2026-10-12',
225
+ to: '2026-10-14',
226
226
  count: 152,
227
227
  rates: [
228
228
  // one entry per publication date
229
- { date: '2026-10-12', rate: 52.74, rate_type: 'sell', derived: false, method: 'published' },
229
+ { date: '2026-10-14', rate: 53.1817, rate_type: 'sell', derived: false, method: 'published' },
230
230
  // …
231
231
  ],
232
232
  disclaimer: '…'
@@ -345,9 +345,9 @@ getRate('USD', 'EGP', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
345
345
 
346
346
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
347
347
 
348
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/cbe.csv`)
348
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/cbe.csv`)
349
349
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
350
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/cbe/latest.json`
350
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/cbe/latest.json`
351
351
 
352
352
  ## 🔗 Links
353
353
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/cbe-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.13",
4
4
  "description": "Official Central Bank of Egypt (Egypt) daily exchange rates — 18 currencies vs EGP, history since 2026. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "cbe",
7
+ "central-bank-of-egypt",
7
8
  "central",
8
9
  "bank",
9
- "of",
10
10
  "egypt",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "egp-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "egp",
20
+ "currency-api",
21
+ "currency-exchange-rates",
22
+ "forex-api",
23
+ "currency-conversion",
24
+ "currency-exchange",
25
+ "currency-rates",
17
26
  "central-bank",
18
27
  "official-rates",
19
- "egypt",
20
28
  "api",
21
29
  "typescript"
22
30
  ],