@allratestoday/nbkr-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 +13 -51
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -42,53 +42,15 @@ 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-10** by National Bank of the Kyrgyz Republic — 43 rates. Updated 2026-10-12.
45
+ Published **2026-10-14** by National Bank of the Kyrgyz Republic — 5 rates. Updated 2026-10-14.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | AED | KGS | reference | 23.8108 |
50
- | AFN | KGS | reference | 1.3483 |
51
- | AMD | KGS | reference | 0.24159 |
52
- | AUD | KGS | reference | 61.0226 |
53
- | AZN | KGS | reference | 51.4412 |
54
- | BHD | KGS | reference | 231.5943 |
55
- | BRL | KGS | reference | 17.4264 |
56
- | BYN | KGS | reference | 28.5439 |
57
- | BYR | KGS | reference | 0.003402 |
58
- | CAD | KGS | reference | 61.4741 |
59
- | CHF | KGS | reference | 105.241 |
60
- | CZK | KGS | reference | 4.0292 |
61
- | DKK | KGS | reference | 13.1283 |
62
- | GBP | KGS | reference | 115.7794 |
63
- | GEL | KGS | reference | 33.6101 |
64
- | HKD | KGS | reference | 11.1436 |
65
- | HUF | KGS | reference | 0.26898 |
66
- | IDR | KGS | reference | 0.00489 |
67
- | INR | KGS | reference | 0.9037 |
68
- | IRR | KGS | reference | 0.000049 |
69
- | JPY | KGS | reference | 0.55301 |
70
- | KRW | KGS | reference | 0.0652 |
71
- | KWD | KGS | reference | 283.7904 |
72
- | MDL | KGS | reference | 4.8854 |
73
- | MNT | KGS | reference | 0.0243 |
74
- | MYR | KGS | reference | 21.4023 |
75
- | NOK | KGS | reference | 9.1394 |
76
- | NZD | KGS | reference | 49.0638 |
77
- | OMR | KGS | reference | 227.137 |
78
- | PKR | KGS | reference | 0.3158 |
79
- | PLN | KGS | reference | 22.4176 |
80
- | SAR | KGS | reference | 23.2933 |
81
- | SEK | KGS | reference | 8.781 |
82
- | SGD | KGS | reference | 68.315 |
83
- | THB | KGS | reference | 2.6081 |
84
- | TJS | KGS | reference | 9.4659 |
85
- | TMT | KGS | reference | 24.9857 |
86
- | TRY | KGS | reference | 1.7723 |
87
- | TWD | KGS | reference | 2.7395 |
88
- | UAH | KGS | reference | 1.9497 |
89
- | UZS | KGS | reference | 0.00738 |
90
- | VND | KGS | reference | 0.00338 |
91
- | XDR | KGS | reference | 118.2188 |
49
+ | CNY | KGS | reference | 13.0634 |
50
+ | EUR | KGS | reference | 97.791 |
51
+ | KZT | KGS | reference | 0.195 |
52
+ | RUB | KGS | reference | 1.0372 |
53
+ | USD | KGS | reference | 87.45 |
92
54
 
93
55
  Source: [Official rates published by NBKR, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/nbkr/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
94
56
  <!-- daily-table:end -->
@@ -145,7 +107,7 @@ const pair = await getRate('USD', 'KGS', { apiKey: 'art_live_...' });
145
107
  {
146
108
  bank: 'nbkr',
147
109
  name: 'National Bank of the Kyrgyz Republic',
148
- rate_date: '2026-10-07', // National Bank of the Kyrgyz Republic's own publication date
110
+ rate_date: '2026-10-14', // National Bank of the Kyrgyz Republic's own publication date
149
111
  source: 'USD',
150
112
  target: 'KGS',
151
113
  rate: 87.45,
@@ -173,7 +135,7 @@ console.log(table.rate_date, table.rates.length);
173
135
  {
174
136
  bank: 'nbkr',
175
137
  name: 'National Bank of the Kyrgyz Republic',
176
- rate_date: '2026-10-07',
138
+ rate_date: '2026-10-14',
177
139
  rates: [
178
140
  { "base": "USD", "quote": "KGS", "type": "reference", "value": 87.45 },
179
141
  // … the rest of the published table (48 currencies vs KGS)
@@ -215,7 +177,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
215
177
  import { getHistory } from '@allratestoday/nbkr-exchange-rate';
216
178
 
217
179
  const series = await getHistory(
218
- { source: 'USD', target: 'KGS', from: '2026-01-01', to: '2026-10-07' },
180
+ { source: 'USD', target: 'KGS', from: '2026-01-01', to: '2026-10-14' },
219
181
  { apiKey: 'art_live_...' }
220
182
  );
221
183
  ```
@@ -228,11 +190,11 @@ const series = await getHistory(
228
190
  source: 'USD',
229
191
  target: 'KGS',
230
192
  from: '2026-01-01',
231
- to: '2026-10-07',
193
+ to: '2026-10-14',
232
194
  count: 152,
233
195
  rates: [
234
196
  // one entry per publication date
235
- { date: '2026-10-07', rate: 87.45, rate_type: 'reference', derived: false, method: 'published' },
197
+ { date: '2026-10-14', rate: 87.45, rate_type: 'reference', derived: false, method: 'published' },
236
198
  // …
237
199
  ],
238
200
  disclaimer: '…'
@@ -351,9 +313,9 @@ getRate('USD', 'KGS', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
351
313
 
352
314
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
353
315
 
354
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/nbkr.csv`)
316
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/nbkr.csv`)
355
317
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
356
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/nbkr/latest.json`
318
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/nbkr/latest.json`
357
319
 
358
320
  ## 🔗 Links
359
321
 
package/package.json CHANGED
@@ -1,21 +1,29 @@
1
1
  {
2
2
  "name": "@allratestoday/nbkr-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.13",
4
4
  "description": "Official National Bank of the Kyrgyz Republic (Kyrgyzstan) daily exchange rates — 48 currencies vs KGS, current table, archive from 2026. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "nbkr",
7
+ "national-bank-of-the-kyrgyz-republic",
7
8
  "national",
8
9
  "bank",
9
- "of",
10
- "the",
11
10
  "kyrgyz",
12
11
  "republic",
13
12
  "exchange-rate",
14
13
  "exchange-rates",
14
+ "exchangerate",
15
+ "exchange rate",
16
+ "kgs-exchange-rate",
15
17
  "currency",
16
18
  "forex",
17
19
  "fx",
18
20
  "kgs",
21
+ "currency-api",
22
+ "currency-exchange-rates",
23
+ "forex-api",
24
+ "currency-conversion",
25
+ "currency-exchange",
26
+ "currency-rates",
19
27
  "central-bank",
20
28
  "official-rates",
21
29
  "kyrgyzstan",